Search Results for

    Show / Hide Table of Contents

    Class AmmoPickup

    A wrapper class for an Ammo pickup.

    Inheritance
    System.Object
    TypeCastObject<Pickup>
    Pickup
    AmmoPickup
    Implements
    IWrapper<InventorySystem.Items.Pickups.ItemPickupBase>
    IWorldSpace
    IPosition
    IRotation
    IWrapper<InventorySystem.Items.Firearms.Ammo.AmmoPickup>
    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 AmmoPickup : Pickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<AmmoPickup>

    Properties

    | Improve this Doc View Source

    Ammo

    Gets or Sets the number of ammo.

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

    AmmoType

    Gets the AmmoType of the item.

    Declaration
    public AmmoType AmmoType { get; }
    Property Value
    Type Description
    AmmoType
    | Improve this Doc View Source

    Base

    Gets the InventorySystem.Items.Firearms.Ammo.AmmoPickup that this class is encapsulating.

    Declaration
    public AmmoPickup Base { get; }
    Property Value
    Type Description
    InventorySystem.Items.Firearms.Ammo.AmmoPickup
    | Improve this Doc View Source

    MaxDisplayedAmmo

    Gets the max ammo.

    Declaration
    public int MaxDisplayedAmmo { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    ToString()

    Returns the AmmoPickup in a human readable format.

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

    A string containing AmmoPickup 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