Class EnteringPocketDimensionEventArgs
Contains all information before a player enters the pocket dimension.
public class EnteringPocketDimensionEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
EnteringPocketDimensionEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
EnteringPocketDimensionEventArgs(Player, Player, bool)
Initializes a new instance of the EnteringPocketDimensionEventArgs class.
public EnteringPocketDimensionEventArgs(Player player, Player scp106, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the player can enter the pocket dimension.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's entering the pocket dimension.
public Player Player { get; }
Property Value
Scp106
Gets the SCP-106 who sent the player to the pocket dimension.
public Player Scp106 { get; }