Class InteractingElevatorEventArgs
Contains all information before a player interacts with an elevator.
Inheritance
System.Object
InteractingElevatorEventArgs
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.Player
Assembly: Exiled.Events.dll
Syntax
public class InteractingElevatorEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceInteractingElevatorEventArgs(Player, ElevatorChamber, Boolean)
Initializes a new instance of the InteractingElevatorEventArgs class.
Declaration
public InteractingElevatorEventArgs(Player player, ElevatorChamber elevator, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Interactables.Interobjects.ElevatorChamber | elevator | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceElevator
Gets the Elevator instance.
Declaration
public ElevatorChamber Elevator { get; }
Property Value
Type | Description |
---|---|
Interactables.Interobjects.ElevatorChamber |
IsAllowed
Gets or sets a value indicating whether or not the player can interact with the elevator.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Lift
Gets the Lift instance.
Declaration
public Lift Lift { get; }
Property Value
Type | Description |
---|---|
Lift |
Player
Gets the player who's interacting with the elevator.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |