Class DeactivatingWorkstationEventArgs
Contains all information before deactivating a workstation.
public class DeactivatingWorkstationEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
DeactivatingWorkstationEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
DeactivatingWorkstationEventArgs(WorkstationController, bool)
Initializes a new instance of the DeactivatingWorkstationEventArgs class.
public DeactivatingWorkstationEventArgs(WorkstationController controller, bool isAllowed = true)
Parameters
controller
WorkstationControllerisAllowed
bool
Properties
IsAllowed
Gets or sets a value indicating whether the workstation can be deactivated.
public bool IsAllowed { get; set; }
Property Value
NewStatus
Gets or sets the workstation status.
public WorkstationController.WorkstationStatus NewStatus { get; set; }
Property Value
- WorkstationController.WorkstationStatus
Player
Gets the Player last user of the workstation.
public Player Player { get; }
Property Value
WorkstationController
Gets the workstation.
public WorkstationController WorkstationController { get; }
Property Value
- WorkstationController