Class EscapingPocketDimensionEventArgs
Contains all information before a player escapes the pocket dimension.
public class EscapingPocketDimensionEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
EscapingPocketDimensionEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
EscapingPocketDimensionEventArgs(Player, Vector3)
Initializes a new instance of the EscapingPocketDimensionEventArgs class.
public EscapingPocketDimensionEventArgs(Player player, Vector3 position)
Parameters
player
Playerposition
Vector3
Properties
IsAllowed
Gets or sets a value indicating whether the player can successfully escape the pocket dimension.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's escaping the pocket dimension.
public Player Player { get; }
Property Value
TeleportPosition
Gets or sets the position in which the player is going to be teleported to.
public Vector3 TeleportPosition { get; set; }
Property Value
- Vector3