Search Results for

    Show / Hide Table of Contents

    Class UsingRadioPickupBatteryEventArgs

    Contains all information before radio pickup battery drains.

    Inheritance
    System.Object
    UsingRadioPickupBatteryEventArgs
    Implements
    IDeniableEvent
    IPickupEvent
    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.Item
    Assembly: Exiled.Events.dll
    Syntax
    public class UsingRadioPickupBatteryEventArgs : IDeniableEvent, IPickupEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    UsingRadioPickupBatteryEventArgs(RadioPickup, Single, Boolean)

    Initializes a new instance of the UsingRadioPickupBatteryEventArgs class.

    Declaration
    public UsingRadioPickupBatteryEventArgs(RadioPickup pickup, float drain, bool isAllowed = true)
    Parameters
    Type Name Description
    InventorySystem.Items.Radio.RadioPickup pickup
    System.Single drain
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    Drain

    Gets or sets the radio percent drain.

    Declaration
    public float Drain { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    IsAllowed

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

    Pickup

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

    RadioPickup

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

    Implements

    IDeniableEvent
    IPickupEvent
    IExiledEvent

    Extension Methods

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