Table of Contents

Class ElevatorTeleportingEventArgs

Namespace
Exiled.Events.EventArgs.Scp079
Assembly
Exiled.Events.dll

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

player Player
room RoomIdentifier
elevatorChamber ElevatorChamber
auxiliaryPowerCost float

Properties

AuxiliaryPowerCost

Gets or sets the amount of auxiliary power required to teleport to an elevator camera.

public float AuxiliaryPowerCost { get; set; }

Property Value

float

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

bool

Lift

Gets the Lift SCP-079 wants to move.

public Lift Lift { get; }

Property Value

Lift

Player

Gets the player who is controlling SCP-079.

public Player Player { get; }

Property Value

Player

Room

Gets Room SCP-079 is in.

public Room Room { get; }

Property Value

Room

Scp079

Gets the Scp079Role triggering the event.

public Scp079Role Scp079 { get; }

Property Value

Scp079Role