Class ChangingRadioPresetEventArgs
Contains all information before radio preset is changed.
Inheritance
System.Object
    ChangingRadioPresetEventArgs
  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, IExiledEventConstructors
| Improve this Doc View SourceChangingRadioPresetEventArgs(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 SourceIsAllowed
Gets or sets a value indicating whether the radio preset can be changed or not.
Declaration
public bool IsAllowed { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
NewValue
Gets or sets the new radio preset value.
Declaration
public RadioRange NewValue { get; set; }Property Value
| Type | Description | 
|---|---|
| RadioRange | 
OldValue
Gets the old radio preset value.
Declaration
public RadioRange OldValue { get; }Property Value
| Type | Description | 
|---|---|
| RadioRange | 
Player
Gets the player who's using the radio.
Declaration
public Player Player { get; }Property Value
| Type | Description | 
|---|---|
| Player |