⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class HudAmmoCounter

    Inheritance
    Object
    MonoBehaviour
    PlayerCharacterHudBase
    HudAmmoCounter
    Implements
    IPlayerCharacterSubscriber
    Inherited Members
    PlayerCharacterHudBase.Awake()
    PlayerCharacterHudBase.Start()
    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: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public class HudAmmoCounter : PlayerCharacterHudBase, IPlayerCharacterSubscriber

    Properties

    poolCurrentMax

    Declaration
    protected bool poolCurrentMax { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    CheckReloaderType()

    Declaration
    protected virtual void CheckReloaderType()

    Disable()

    Declaration
    public void Disable()

    Enable()

    Declaration
    public void Enable()

    OnAmmoChange(IModularFirearm, IAmmo)

    Declaration
    protected void OnAmmoChange(IModularFirearm firearm, IAmmo ammo)
    Parameters
    Type Name Description
    IModularFirearm firearm
    IAmmo ammo

    OnCurrentAmmoChange(IModularFirearm, Int32)

    Declaration
    protected void OnCurrentAmmoChange(IModularFirearm firearm, int count)
    Parameters
    Type Name Description
    IModularFirearm firearm
    System.Int32 count

    OnCurrentMagazineChange(IModularFirearm, Int32)

    Declaration
    protected void OnCurrentMagazineChange(IModularFirearm firearm, int count)
    Parameters
    Type Name Description
    IModularFirearm firearm
    System.Int32 count

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    PlayerCharacterHudBase.OnDestroy()

    OnPlayerCharacterChanged(ICharacter)

    Declaration
    public override void OnPlayerCharacterChanged(ICharacter character)
    Parameters
    Type Name Description
    ICharacter character
    Overrides
    PlayerCharacterHudBase.OnPlayerCharacterChanged(ICharacter)

    OnReloaderChange(IModularFirearm, IReloader)

    Declaration
    protected void OnReloaderChange(IModularFirearm firearm, IReloader reloader)
    Parameters
    Type Name Description
    IModularFirearm firearm
    IReloader reloader

    OnSelectionChanged(Int32, IQuickSlotItem)

    Declaration
    protected void OnSelectionChanged(int slot, IQuickSlotItem item)
    Parameters
    Type Name Description
    System.Int32 slot
    IQuickSlotItem item

    OnWieldableQuantityChange()

    Declaration
    protected void OnWieldableQuantityChange()

    Implements

    IPlayerCharacterSubscriber
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX