Search Results for

    Show / Hide Table of Contents

    Class ChangingRadioPresetEventArgs

    Contains all information before radio preset is changed.

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

    Constructors

    | Improve this Doc View Source

    ChangingRadioPresetEventArgs(Player, RadioMessages.RadioRangeLevel, RadioMessages.RadioRangeLevel, Boolean)

    Initializes a new instance of the ChangingRadioPresetEventArgs class.

    Declaration
    public ChangingRadioPresetEventArgs(Player player, RadioMessages.RadioRangeLevel oldValue, RadioMessages.RadioRangeLevel newValue, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    InventorySystem.Items.Radio.RadioMessages.RadioRangeLevel oldValue
    InventorySystem.Items.Radio.RadioMessages.RadioRangeLevel newValue
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the radio preset can be changed or not. Client radio graphics won't sync with OldValue.

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

    NewValue

    Gets or sets the new radio preset value. Client radio graphics won't sync with this value.

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

    OldValue

    Gets the old radio preset value.

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

    Player

    Gets the player who's using the radio.

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

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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