⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class PassthroughReloader

    Inheritance
    Object
    MonoBehaviour
    BaseFirearmModuleBehaviour
    PassthroughReloader
    Implements
    IFirearmModule
    IReloader
    IFirearmModuleValidity
    INeoSerializableComponent
    Inherited Members
    BaseFirearmModuleBehaviour.activationMode
    BaseFirearmModuleBehaviour.firearm
    BaseFirearmModuleBehaviour.Awake()
    BaseFirearmModuleBehaviour.Enable()
    BaseFirearmModuleBehaviour.Disable()
    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.ModularFirearms
    Assembly: NeoFPS.dll
    Syntax
    public class PassthroughReloader : BaseFirearmModuleBehaviour, IFirearmModule, IReloader, IFirearmModuleValidity, INeoSerializableComponent

    Properties

    canReload

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

    currentMagazine

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

    empty

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

    full

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

    interruptable

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

    isModuleValid

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

    isReloading

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

    magazineExtension

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

    magazineSize

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

    reloadDelayType

    Declaration
    public FirearmDelayType reloadDelayType { get; }
    Property Value
    Type Description
    FirearmDelayType

    reloadSpeedMultiplier

    Declaration
    public float reloadSpeedMultiplier { get; set; }
    Property Value
    Type Description
    System.Single

    startingMagazine

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

    Methods

    DecrementMag(Int32)

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

    Interrupt()

    Declaration
    public void Interrupt()

    ManualReloadComplete()

    Declaration
    public void ManualReloadComplete()

    ManualReloadPartial()

    Declaration
    public void ManualReloadPartial()

    OnEnable()

    Declaration
    protected void OnEnable()

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

    Declaration
    public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
    Parameters
    Type Name Description
    INeoDeserializer reader
    NeoSerializedGameObject nsgo

    Reload()

    Declaration
    public Waitable Reload()
    Returns
    Type Description
    Waitable

    WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

    Declaration
    public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
    Parameters
    Type Name Description
    INeoSerializer writer
    NeoSerializedGameObject nsgo
    SaveMode saveMode

    Events

    onCurrentMagazineChange

    Declaration
    public event UnityAction<IModularFirearm, int> onCurrentMagazineChange
    Event Type
    Type Description
    UnityAction<IModularFirearm, System.Int32>

    onReloadComplete

    Declaration
    public event UnityAction<IModularFirearm> onReloadComplete
    Event Type
    Type Description
    UnityAction<IModularFirearm>

    onReloadStart

    Declaration
    public event UnityAction<IModularFirearm> onReloadStart
    Event Type
    Type Description
    UnityAction<IModularFirearm>

    Implements

    IFirearmModule
    IReloader
    IFirearmModuleValidity
    INeoSerializableComponent
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX