Class FailingEscapePocketDimensionEventArgs
Contains all information before a player dies from walking through an incorrect exit in the pocket dimension.
Inheritance
System.Object
FailingEscapePocketDimensionEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Player
Assembly: Exiled.Events.dll
Syntax
public class FailingEscapePocketDimensionEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceFailingEscapePocketDimensionEventArgs(Player, PocketDimensionTeleport, Boolean)
Initializes a new instance of the FailingEscapePocketDimensionEventArgs class.
Declaration
public FailingEscapePocketDimensionEventArgs(Player player, PocketDimensionTeleport teleporter, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
PocketDimensionTeleport | teleporter | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the player dies by failing the pocket dimension escape.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's escaping the pocket dimension.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Teleporter
Gets the PocketDimensionTeleport the player walked into.
Declaration
public PocketDimensionTeleport Teleporter { get; }
Property Value
Type | Description |
---|---|
PocketDimensionTeleport |