Search Results for

    Show / Hide Table of Contents

    Class FirearmPickup

    A wrapper class for a Firearm pickup.

    Inheritance
    System.Object
    TypeCastObject<Pickup>
    Pickup
    FirearmPickup
    Implements
    IWrapper<InventorySystem.Items.Pickups.ItemPickupBase>
    IWorldSpace
    IPosition
    IRotation
    IWrapper<InventorySystem.Items.Firearms.FirearmPickup>
    Inherited Members
    Pickup.List
    Pickup.GameObject
    Pickup.Transform
    Pickup.Rigidbody
    Pickup.Room
    Pickup.PhysicsModule
    Pickup.Serial
    Pickup.Scale
    Pickup.Weight
    Pickup.PickupTime
    Pickup.Type
    Pickup.IsLocked
    Pickup.Info
    Pickup.PreviousOwner
    Pickup.InUse
    Pickup.Position
    Pickup.RelativePosition
    Pickup.Rotation
    Pickup.IsSpawned
    Pickup.Get(ItemPickupBase)
    Pickup.Get(UInt16)
    Pickup.Get(GameObject)
    Pickup.Get(IEnumerable<ItemPickupBase>)
    Pickup.Get(ItemType)
    Pickup.Get(IEnumerable<GameObject>)
    Pickup.Get<T>(IEnumerable<ItemPickupBase>)
    Pickup.Get<T>(ItemType)
    Pickup.Get<T>(IEnumerable<GameObject>)
    Pickup.Create(ItemType)
    Pickup.CreateAndSpawn(ItemType, Vector3, Quaternion, Player)
    Pickup.Spawn(Pickup, Vector3, Quaternion, Player)
    Pickup.PickupTimeForPlayer(Player)
    Pickup.Spawn()
    Pickup.Spawn(Vector3, Quaternion, Player)
    Pickup.UnSpawn()
    Pickup.Destroy()
    Pickup.Clone()
    Pickup.InitializeProperties(ItemBase)
    TypeCastObject<Pickup>.Cast<TObject>()
    TypeCastObject<Pickup>.Cast<TObject>(TObject)
    TypeCastObject<Pickup>.As<TObject>()
    TypeCastObject<Pickup>.Is<TObject>(TObject)
    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 Source

    Ammo

    Gets or sets a value indicating how many ammo have this FirearmPickup.

    Declaration
    public byte Ammo { get; set; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Flags

    Gets or sets the InventorySystem.Items.Firearms.FirearmStatusFlags.

    Declaration
    public FirearmStatusFlags Flags { get; set; }
    Property Value
    Type Description
    InventorySystem.Items.Firearms.FirearmStatusFlags
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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 Source

    ToString()

    Returns the FirearmPickup in a human readable format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string containing FirearmPickup related data.

    Overrides
    Pickup.ToString()

    Implements

    IWrapper<T>
    IWorldSpace
    IPosition
    IRotation
    IWrapper<T>

    Extension Methods

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