Class InteractingDoorEventArgs
Contains all information before a player interacts with a door.
Inheritance
System.Object
InteractingDoorEventArgs
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 InteractingDoorEventArgs : IPlayerEvent, IDoorEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceInteractingDoorEventArgs(Player, DoorVariant, Boolean)
Initializes a new instance of the InteractingDoorEventArgs class.
Declaration
public InteractingDoorEventArgs(Player player, DoorVariant door, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Interactables.Interobjects.DoorUtils.DoorVariant | door | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceDoor
Gets or sets the Door instance.
Declaration
public Door Door { get; set; }
Property Value
Type | Description |
---|---|
Door |
IsAllowed
Gets or sets a value indicating whether or not the player can interact with the door.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's interacting with the door.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |