Search Results for

    Show / Hide Table of Contents

    Class DeactivatingWorkstationEventArgs

    Contains all information before deactivating a workstation.

    Inheritance
    System.Object
    DeactivatingWorkstationEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 Source

    DeactivatingWorkstationEventArgs(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 Source

    IsAllowed

    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
    | Improve this Doc View Source

    NewStatus

    Gets or sets the workstation status.

    Declaration
    public WorkstationController.WorkstationStatus NewStatus { get; set; }
    Property Value
    Type Description
    InventorySystem.Items.Firearms.Attachments.WorkstationController.WorkstationStatus
    | Improve this Doc View Source

    Player

    Gets the Player last user of the workstation.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    WorkstationController

    Gets the workstation.

    Declaration
    public WorkstationController WorkstationController { get; }
    Property Value
    Type Description
    InventorySystem.Items.Firearms.Attachments.WorkstationController

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX