Class FailingEscapePocketDimensionEventArgs
Contains all information before a player dies from walking through an incorrect exit in the pocket dimension.
public class FailingEscapePocketDimensionEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
FailingEscapePocketDimensionEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
FailingEscapePocketDimensionEventArgs(Player, PocketDimensionTeleport, bool)
Initializes a new instance of the FailingEscapePocketDimensionEventArgs class.
public FailingEscapePocketDimensionEventArgs(Player player, PocketDimensionTeleport teleporter, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the player dies by failing the pocket dimension escape.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's escaping the pocket dimension.
public Player Player { get; }
Property Value
Teleporter
Gets the PocketDimensionTeleport the player walked into.
public PocketDimensionTeleport Teleporter { get; }
Property Value
- PocketDimensionTeleport