Table of Contents

Class InteractingElevatorEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information before a player interacts with an elevator.

public class InteractingElevatorEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
InteractingElevatorEventArgs
Implements
Inherited Members
Extension Methods

Constructors

InteractingElevatorEventArgs(Player, ElevatorChamber, bool, bool)

Initializes a new instance of the InteractingElevatorEventArgs class.

public InteractingElevatorEventArgs(Player player, ElevatorChamber elevator, bool isCalledFromInside, bool isAllowed = true)

Parameters

player Player
elevator ElevatorChamber
isCalledFromInside bool
isAllowed bool

Properties

Elevator

Gets the Elevator instance.

public ElevatorChamber Elevator { get; }

Property Value

ElevatorChamber

IsAllowed

Gets or sets a value indicating whether the player can interact with the elevator.

public bool IsAllowed { get; set; }

Property Value

bool

IsCalledFromInside

Gets a value indicating whether the player as interact with the elevator from the inside.

public bool IsCalledFromInside { get; }

Property Value

bool

Lift

Gets the Lift instance.

public Lift Lift { get; }

Property Value

Lift

Player

Gets the player who's interacting with the elevator.

public Player Player { get; }

Property Value

Player