Class UsingRadioPickupBatteryEventArgs
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
Properties
Drain
Gets or sets the radio percent drain.
public float Drain { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Pickup
Gets the Pickup triggering the event.
public Pickup Pickup { get; }
Property Value
RadioPickup
Gets the Pickup triggering the event.
public RadioPickup RadioPickup { get; }