Class ElevatorTeleportingEventArgs
Contains all information before SCP-079 changes rooms via elevator.
public class ElevatorTeleportingEventArgs : IScp079Event, IPlayerEvent, IRoomEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
ElevatorTeleportingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ElevatorTeleportingEventArgs(Player, RoomIdentifier, ElevatorChamber, float)
Initializes a new instance of the ElevatorTeleportingEventArgs class.
public ElevatorTeleportingEventArgs(Player player, RoomIdentifier room, ElevatorChamber elevatorChamber, float auxiliaryPowerCost)
Parameters
Properties
AuxiliaryPowerCost
Gets or sets the amount of auxiliary power required to teleport to an elevator camera.
public float AuxiliaryPowerCost { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether SCP-079 can teleport. Defaults to a bool describing whether SCP-079 has enough auxiliary power to teleport.
public bool IsAllowed { get; set; }
Property Value
Lift
Gets the Lift SCP-079 wants to move.
public Lift Lift { get; }
Property Value
Player
Gets the player who is controlling SCP-079.
public Player Player { get; }
Property Value
Room
Gets Room SCP-079 is in.
public Room Room { get; }
Property Value
Scp079
Gets the Scp079Role triggering the event.
public Scp079Role Scp079 { get; }