Search Results for

    Show / Hide Table of Contents

    Class DroppedAmmoEventArgs

    Contains all information after a player drops ammo.

    Inheritance
    System.Object
    DroppedAmmoEventArgs
    Implements
    IPlayerEvent
    IExiledEvent
    Inherited Members
    System.Object.ToString()
    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.Events.EventArgs.Player
    Assembly: Exiled.Events.dll
    Syntax
    public class DroppedAmmoEventArgs : IPlayerEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    DroppedAmmoEventArgs(Player, AmmoType, UInt16, List<AmmoPickup>)

    Initializes a new instance of the DroppedAmmoEventArgs class.

    Declaration
    public DroppedAmmoEventArgs(Player player, AmmoType ammoType, ushort amount, List<AmmoPickup> ammoPickups)
    Parameters
    Type Name Description
    Player player
    AmmoType ammoType
    System.UInt16 amount
    System.Collections.Generic.List<InventorySystem.Items.Firearms.Ammo.AmmoPickup> ammoPickups

    Properties

    | Improve this Doc View Source

    AmmoPickups

    Gets the dropped ammo pickups.

    Declaration
    public IEnumerable<AmmoPickup> AmmoPickups { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<AmmoPickup>
    | Improve this Doc View Source

    AmmoType

    Gets the type of dropped ammo.

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

    Amount

    Gets the amount of dropped ammo.

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

    Player

    Gets the player who dropped the ammo.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IExiledEvent

    Extension Methods

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