Class FirearmPickup
A wrapper class for a Firearm pickup.
Implements
IWrapper<InventorySystem.Items.Pickups.ItemPickupBase>
IWrapper<InventorySystem.Items.Firearms.FirearmPickup>
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 FirearmPickup : Pickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<FirearmPickup>
Properties
| Improve this Doc View SourceAmmo
Gets or sets a value indicating how many ammo have this FirearmPickup.
Declaration
public byte Ammo { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Attachments
Gets or sets a value indicating whether the attachment code have this FirearmPickup.
Declaration
public uint Attachments { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Base
Gets the InventorySystem.Items.Firearms.FirearmPickup that this class is encapsulating.
Declaration
public FirearmPickup Base { get; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Firearms.FirearmPickup |
Flags
Gets or sets the InventorySystem.Items.Firearms.FirearmStatusFlags.
Declaration
public FirearmStatusFlags Flags { get; set; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Firearms.FirearmStatusFlags |
IsDistributed
Gets or sets a value indicating whether the pickup is already distributed.
Declaration
public bool IsDistributed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Status
Gets or sets the InventorySystem.Items.Firearms.FirearmStatus.
Declaration
public FirearmStatus Status { get; set; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Firearms.FirearmStatus |
Methods
| Improve this Doc View SourceToString()
Returns the FirearmPickup in a human readable format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string containing FirearmPickup related data. |