Search Results for

    Show / Hide Table of Contents

    Class TogglingRadioEventArgs

    Contains all information before toggling a radio.

    Inheritance
    System.Object
    TogglingRadioEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IItemEvent
    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 TogglingRadioEventArgs : IPlayerEvent, IDeniableEvent, IItemEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    TogglingRadioEventArgs(Player, RadioItem, Boolean, Boolean)

    Initializes a new instance of the TogglingRadioEventArgs class.

    Declaration
    public TogglingRadioEventArgs(Player player, RadioItem radio, bool newState, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    InventorySystem.Items.Radio.RadioItem radio
    System.Boolean newState
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the radio can be turned on or off.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item

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

    NewState

    Gets a value indicating whether the radio is being turned on or off.

    Declaration
    public bool NewState { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the player who's using the radio.

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

    Radio

    Gets the Radio which is being used.

    Declaration
    public Radio Radio { get; }
    Property Value
    Type Description
    Radio

    Implements

    IPlayerEvent
    IDeniableEvent
    IItemEvent
    IExiledEvent

    Extension Methods

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