Interface IModularFirearm
Assembly: NeoFPS.dll
Syntax
public interface IModularFirearm : IMonoBehaviour
Properties
aimer
Declaration
Property Value
aimToggleHold
Declaration
ToggleOrHold aimToggleHold { get; }
Property Value
ammo
Declaration
Property Value
animationHandler
Declaration
IWieldableAnimationHandler animationHandler { get; }
Property Value
animator
Declaration
Animator animator { get; }
Property Value
| Type |
Description |
| Animator |
|
ejector
Declaration
IEjector ejector { get; }
Property Value
mode
Declaration
Property Value
| Type |
Description |
| System.String |
|
modeSwitcher
Declaration
IModularFirearmModeSwitcher modeSwitcher { get; set; }
Property Value
muzzleEffect
Declaration
IMuzzleEffect muzzleEffect { get; }
Property Value
raiseDelayType
Declaration
FirearmDelayType raiseDelayType { get; }
Property Value
recoilHandler
Declaration
IRecoilHandler recoilHandler { get; }
Property Value
reloader
Declaration
IReloader reloader { get; }
Property Value
shooter
Declaration
IShooter shooter { get; }
Property Value
trigger
Declaration
ITrigger trigger { get; }
Property Value
wielder
Declaration
ICharacter wielder { get; }
Property Value
Methods
AddTriggerBlocker(Object)
Declaration
void AddTriggerBlocker(Object o)
Parameters
| Type |
Name |
Description |
| Object |
o |
|
HideGeometry()
Declaration
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
Returns
| Type |
Description |
| System.Boolean |
|
RemoveTriggerBlocker(Object)
Declaration
void RemoveTriggerBlocker(Object o)
Parameters
| Type |
Name |
Description |
| Object |
o |
|
SetAimer(IAimer)
Declaration
Parameters
| Type |
Name |
Description |
| IAimer |
to |
|
SetAmmo(IAmmo)
Declaration
Parameters
| Type |
Name |
Description |
| IAmmo |
to |
|
SetEjector(IEjector)
Declaration
void SetEjector(IEjector to)
Parameters
SetHandling(IRecoilHandler)
Declaration
void SetHandling(IRecoilHandler to)
Parameters
SetMuzzleEffect(IMuzzleEffect)
Declaration
void SetMuzzleEffect(IMuzzleEffect to)
Parameters
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
SetShooter(IShooter)
Declaration
void SetShooter(IShooter to)
Parameters
SetTrigger(ITrigger)
Declaration
void SetTrigger(ITrigger to)
Parameters
ShowGeometry()
Declaration
SwitchMode()
Declaration
Events
onAimerChange
Declaration
event UnityAction<IModularFirearm, IAimer> onAimerChange
Event Type
onAmmoChange
Declaration
event UnityAction<IModularFirearm, IAmmo> onAmmoChange
Event Type
onModeChange
Declaration
event UnityAction<IModularFirearm, string> onModeChange
Event Type
onReloaderChange
Declaration
event UnityAction<IModularFirearm, IReloader> onReloaderChange
Event Type
onShooterChange
Declaration
event UnityAction<IModularFirearm, IShooter> onShooterChange
Event Type
onTriggerChange
Declaration
event UnityAction<IModularFirearm, ITrigger> onTriggerChange
Event Type
onWielderChanged
Declaration
event UnityAction<ICharacter> onWielderChanged
Event Type