Class DeactivatingWorkstationEventArgs
Contains all information before deactivating a workstation.
Inheritance
System.Object
DeactivatingWorkstationEventArgs
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 DeactivatingWorkstationEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceDeactivatingWorkstationEventArgs(WorkstationController, Boolean)
Initializes a new instance of the DeactivatingWorkstationEventArgs class.
Declaration
public DeactivatingWorkstationEventArgs(WorkstationController controller, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.Firearms.Attachments.WorkstationController | controller | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the workstation can be deactivated.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
NewStatus
Gets or sets the workstation status.
Declaration
public WorkstationController.WorkstationStatus NewStatus { get; set; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Firearms.Attachments.WorkstationController.WorkstationStatus |
Player
Gets the Player last user of the workstation.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
WorkstationController
Gets the workstation.
Declaration
public WorkstationController WorkstationController { get; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Firearms.Attachments.WorkstationController |