⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Interface IAmmo

    Namespace: NeoFPS.ModularFirearms
    Assembly: NeoFPS.dll
    Syntax
    public interface IAmmo

    Properties

    atMaximum

    Declaration
    bool atMaximum { get; }
    Property Value
    Type Description
    System.Boolean

    available

    Declaration
    bool available { get; }
    Property Value
    Type Description
    System.Boolean

    currentAmmo

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

    effect

    Declaration
    IAmmoEffect effect { get; }
    Property Value
    Type Description
    IAmmoEffect

    firearm

    Declaration
    IModularFirearm firearm { get; }
    Property Value
    Type Description
    IModularFirearm

    maxAmmo

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

    printableName

    Declaration
    string printableName { get; }
    Property Value
    Type Description
    System.String

    Methods

    DecrementAmmo(Int32)

    Declaration
    void DecrementAmmo(int amount)
    Parameters
    Type Name Description
    System.Int32 amount

    Disable()

    Declaration
    void Disable()

    Enable()

    Declaration
    void Enable()

    IncrementAmmo(Int32)

    Declaration
    void IncrementAmmo(int amount)
    Parameters
    Type Name Description
    System.Int32 amount

    Events

    onCurrentAmmoChange

    Declaration
    event UnityAction<IModularFirearm, int> onCurrentAmmoChange
    Event Type
    Type Description
    UnityAction<IModularFirearm, System.Int32>
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX