Class TeleportingEventArgs
Contains all information before SCP-106 teleports using hunter atlas.
public class TeleportingEventArgs : IScp106Event, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
TeleportingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
TeleportingEventArgs(Player, Vector3, bool)
Initializes a new instance of the TeleportingEventArgs class.
public TeleportingEventArgs(Player player, Vector3 position, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether SCP-106 can teleport using a portal.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's controlling SCP-106.
public Player Player { get; }
Property Value
Position
Gets or sets the teleporting position.
public Vector3 Position { get; set; }
Property Value
- Vector3
Scp106
Gets the Scp106Role triggering the event.
public Scp106Role Scp106 { get; }