Class TeleportingEventArgs
Contains all information before SCP-106 teleports using hunter atlas.
Inheritance
System.Object
TeleportingEventArgs
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.Scp106
Assembly: Exiled.Events.dll
Syntax
public class TeleportingEventArgs : IScp106Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceTeleportingEventArgs(Player, Vector3, Boolean)
Initializes a new instance of the TeleportingEventArgs class.
Declaration
public TeleportingEventArgs(Player player, Vector3 position, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
UnityEngine.Vector3 | position | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not SCP-106 can teleport using a portal.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's controlling SCP-106.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Position
Gets or sets the teleporting position.
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Scp106
Declaration
public Scp106Role Scp106 { get; }
Property Value
Type | Description |
---|---|
Scp106Role |