Table of Contents

Class UsingRadioPickupBatteryEventArgs

Namespace
Exiled.Events.EventArgs.Item
Assembly
Exiled.Events.dll

Contains all information before radio pickup battery drains.

public class UsingRadioPickupBatteryEventArgs : IDeniableEvent, IPickupEvent, IExiledEvent
Inheritance
UsingRadioPickupBatteryEventArgs
Implements
Inherited Members
Extension Methods

Constructors

UsingRadioPickupBatteryEventArgs(RadioPickup, float, bool)

Initializes a new instance of the UsingRadioPickupBatteryEventArgs class.

public UsingRadioPickupBatteryEventArgs(RadioPickup pickup, float drain, bool isAllowed = true)

Parameters

pickup RadioPickup
drain float
isAllowed bool

Properties

Drain

Gets or sets the radio percent drain.

public float Drain { get; set; }

Property Value

float

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Pickup

Gets the Pickup triggering the event.

public Pickup Pickup { get; }

Property Value

Pickup

RadioPickup

Gets the Pickup triggering the event.

public RadioPickup RadioPickup { get; }

Property Value

RadioPickup