⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Interface IModularFirearm

    Inherited Members
    IMonoBehaviour.enabled
    IMonoBehaviour.name
    IMonoBehaviour.gameObject
    IMonoBehaviour.transform
    IMonoBehaviour.GetComponent<T>()
    IMonoBehaviour.GetComponentInChildren<T>()
    IMonoBehaviour.GetComponentInParent<T>()
    IMonoBehaviour.GetComponents<T>()
    IMonoBehaviour.GetComponentsInChildren<T>(Boolean)
    IMonoBehaviour.GetComponentsInParent<T>(Boolean)
    IMonoBehaviour.GetComponent(Type)
    IMonoBehaviour.GetComponentInChildren(Type)
    IMonoBehaviour.GetComponentInParent(Type)
    IMonoBehaviour.GetComponents(Type)
    IMonoBehaviour.GetComponentsInChildren(Type, Boolean)
    IMonoBehaviour.GetComponentsInParent(Type, Boolean)
    Namespace: NeoFPS.ModularFirearms
    Assembly: NeoFPS.dll
    Syntax
    public interface IModularFirearm : IMonoBehaviour

    Properties

    aimer

    Declaration
    IAimer aimer { get; }
    Property Value
    Type Description
    IAimer

    aimToggleHold

    Declaration
    ToggleOrHold aimToggleHold { get; }
    Property Value
    Type Description
    ToggleOrHold

    ammo

    Declaration
    IAmmo ammo { get; }
    Property Value
    Type Description
    IAmmo

    animationHandler

    Declaration
    IWieldableAnimationHandler animationHandler { get; }
    Property Value
    Type Description
    IWieldableAnimationHandler

    animator

    Declaration
    Animator animator { get; }
    Property Value
    Type Description
    Animator

    ejector

    Declaration
    IEjector ejector { get; }
    Property Value
    Type Description
    IEjector

    mode

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

    modeSwitcher

    Declaration
    IModularFirearmModeSwitcher modeSwitcher { get; set; }
    Property Value
    Type Description
    IModularFirearmModeSwitcher

    muzzleEffect

    Declaration
    IMuzzleEffect muzzleEffect { get; }
    Property Value
    Type Description
    IMuzzleEffect

    raiseDelayType

    Declaration
    FirearmDelayType raiseDelayType { get; }
    Property Value
    Type Description
    FirearmDelayType

    recoilHandler

    Declaration
    IRecoilHandler recoilHandler { get; }
    Property Value
    Type Description
    IRecoilHandler

    reloader

    Declaration
    IReloader reloader { get; }
    Property Value
    Type Description
    IReloader

    shooter

    Declaration
    IShooter shooter { get; }
    Property Value
    Type Description
    IShooter

    trigger

    Declaration
    ITrigger trigger { get; }
    Property Value
    Type Description
    ITrigger

    wielder

    Declaration
    ICharacter wielder { get; }
    Property Value
    Type Description
    ICharacter

    Methods

    AddTriggerBlocker(Object)

    Declaration
    void AddTriggerBlocker(Object o)
    Parameters
    Type Name Description
    Object o

    HideGeometry()

    Declaration
    void HideGeometry()

    ManualWeaponRaised()

    Declaration
    void ManualWeaponRaised()

    PlaySound(AudioClip, Single)

    Declaration
    void PlaySound(AudioClip clip, float volume = 1F)
    Parameters
    Type Name Description
    AudioClip clip
    System.Single volume

    Reload()

    Declaration
    bool Reload()
    Returns
    Type Description
    System.Boolean

    RemoveTriggerBlocker(Object)

    Declaration
    void RemoveTriggerBlocker(Object o)
    Parameters
    Type Name Description
    Object o

    SetAimer(IAimer)

    Declaration
    void SetAimer(IAimer to)
    Parameters
    Type Name Description
    IAimer to

    SetAmmo(IAmmo)

    Declaration
    void SetAmmo(IAmmo to)
    Parameters
    Type Name Description
    IAmmo to

    SetEjector(IEjector)

    Declaration
    void SetEjector(IEjector to)
    Parameters
    Type Name Description
    IEjector to

    SetHandling(IRecoilHandler)

    Declaration
    void SetHandling(IRecoilHandler to)
    Parameters
    Type Name Description
    IRecoilHandler to

    SetMuzzleEffect(IMuzzleEffect)

    Declaration
    void SetMuzzleEffect(IMuzzleEffect to)
    Parameters
    Type Name Description
    IMuzzleEffect to

    SetRecoilMultiplier(Single, Single)

    Declaration
    void SetRecoilMultiplier(float move, float rotation)
    Parameters
    Type Name Description
    System.Single move
    System.Single rotation

    SetReloader(IReloader)

    Declaration
    void SetReloader(IReloader to)
    Parameters
    Type Name Description
    IReloader to

    SetShooter(IShooter)

    Declaration
    void SetShooter(IShooter to)
    Parameters
    Type Name Description
    IShooter to

    SetTrigger(ITrigger)

    Declaration
    void SetTrigger(ITrigger to)
    Parameters
    Type Name Description
    ITrigger to

    ShowGeometry()

    Declaration
    void ShowGeometry()

    SwitchMode()

    Declaration
    void SwitchMode()

    Events

    onAimerChange

    Declaration
    event UnityAction<IModularFirearm, IAimer> onAimerChange
    Event Type
    Type Description
    UnityAction<IModularFirearm, IAimer>

    onAmmoChange

    Declaration
    event UnityAction<IModularFirearm, IAmmo> onAmmoChange
    Event Type
    Type Description
    UnityAction<IModularFirearm, IAmmo>

    onModeChange

    Declaration
    event UnityAction<IModularFirearm, string> onModeChange
    Event Type
    Type Description
    UnityAction<IModularFirearm, System.String>

    onReloaderChange

    Declaration
    event UnityAction<IModularFirearm, IReloader> onReloaderChange
    Event Type
    Type Description
    UnityAction<IModularFirearm, IReloader>

    onShooterChange

    Declaration
    event UnityAction<IModularFirearm, IShooter> onShooterChange
    Event Type
    Type Description
    UnityAction<IModularFirearm, IShooter>

    onTriggerChange

    Declaration
    event UnityAction<IModularFirearm, ITrigger> onTriggerChange
    Event Type
    Type Description
    UnityAction<IModularFirearm, ITrigger>

    onWielderChanged

    Declaration
    event UnityAction<ICharacter> onWielderChanged
    Event Type
    Type Description
    UnityAction<ICharacter>
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX