Class RadioPickup
A wrapper class for a Radio pickup.
Implements
IWrapper<InventorySystem.Items.Pickups.ItemPickupBase>
IWrapper<InventorySystem.Items.Radio.RadioPickup>
Inherited Members
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.API.Features.Pickups
Assembly: Exiled.API.dll
Syntax
public class RadioPickup : Pickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<RadioPickup>
Properties
| Improve this Doc View SourceBase
Gets the InventorySystem.Items.Radio.RadioPickup that this class is encapsulating.
Declaration
public RadioPickup Base { get; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Radio.RadioPickup |
BatteryLevel
Gets or sets the Radio Battery Level.
Declaration
public float BatteryLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IsEnabled
Gets or sets a value indicating whether the radio is active.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Range
Gets or sets the RadioRange.
Declaration
public RadioRange Range { get; set; }
Property Value
Type | Description |
---|---|
RadioRange |
Methods
| Improve this Doc View SourceToString()
Returns the RadioPickup in a human readable format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string containing RadioPickup related data. |