Class ElevatorTeleportingEventArgs
Contains all information before SCP-079 changes rooms via elevator.
Inheritance
System.Object
ElevatorTeleportingEventArgs
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.Scp079
Assembly: Exiled.Events.dll
Syntax
public class ElevatorTeleportingEventArgs : IScp079Event, IPlayerEvent, IRoomEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceElevatorTeleportingEventArgs(Player, RoomIdentifier, ElevatorDoor, Single)
Initializes a new instance of the ElevatorTeleportingEventArgs class.
Declaration
public ElevatorTeleportingEventArgs(Player player, RoomIdentifier room, ElevatorDoor elevatorDoor, float auxiliaryPowerCost)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
MapGeneration.RoomIdentifier | room | |
Interactables.Interobjects.ElevatorDoor | elevatorDoor | |
System.Single | auxiliaryPowerCost |
Properties
| Improve this Doc View SourceAuxiliaryPowerCost
Gets or sets the amount of auxiliary power required to teleport to an elevator camera.
Declaration
public float AuxiliaryPowerCost { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IsAllowed
Gets or sets a value indicating whether or not SCP-079 can teleport. Defaults to a System.Boolean describing whether or not SCP-079 has enough auxiliary power to teleport.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Lift
Gets the Lift SCP-079 wants to move.
Declaration
public Lift Lift { get; }
Property Value
Type | Description |
---|---|
Lift |
Player
Gets the player who is controlling SCP-079.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Room
Gets Room SCP-079 is in.
Declaration
public Room Room { get; }
Property Value
Type | Description |
---|---|
Room |
Scp079
Declaration
public Scp079Role Scp079 { get; }
Property Value
Type | Description |
---|---|
Scp079Role |