Class EscapingPocketDimensionEventArgs
Contains all information before a player escapes the pocket dimension.
Inheritance
System.Object
EscapingPocketDimensionEventArgs
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 EscapingPocketDimensionEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceEscapingPocketDimensionEventArgs(Player, Vector3)
Initializes a new instance of the EscapingPocketDimensionEventArgs class.
Declaration
public EscapingPocketDimensionEventArgs(Player player, Vector3 position)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
UnityEngine.Vector3 | position |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the player can successfully escape the pocket dimension.
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 |
TeleportPosition
Gets or sets the position in which the player is going to be teleported to.
Declaration
public Vector3 TeleportPosition { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |