Class BaseReloaderBehaviour
Inheritance
BaseReloaderBehaviour
Inherited Members
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()
Assembly: NeoFPS.dll
Syntax
public abstract class BaseReloaderBehaviour : BaseFirearmModuleBehaviour, IFirearmModule, IReloader, IFirearmModuleValidity, INeoSerializableComponent
Properties
canReload
Declaration
public virtual 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 virtual bool empty { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
full
Declaration
public virtual bool full { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
interruptable
Declaration
public virtual bool interruptable { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isModuleValid
Declaration
public virtual bool isModuleValid { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isReloading
Declaration
public abstract 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; protected set; }
Property Value
| Type |
Description |
| System.Int32 |
|
reloadDelayType
Declaration
public abstract FirearmDelayType reloadDelayType { get; }
Property Value
reloadSpeedMultiplier
Declaration
public float reloadSpeedMultiplier { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
reloadTimeMultiplier
Declaration
protected float reloadTimeMultiplier { get; }
Property Value
| Type |
Description |
| System.Single |
|
startingMagazine
Declaration
public int startingMagazine { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
DecrementMag(Int32)
Declaration
public virtual void DecrementMag(int amount)
Parameters
| Type |
Name |
Description |
| System.Int32 |
amount |
|
Enable()
Declaration
public override void Enable()
Overrides
Interrupt()
Declaration
public virtual void Interrupt()
ManualReloadComplete()
Declaration
public abstract void ManualReloadComplete()
ManualReloadPartial()
Declaration
public virtual void ManualReloadPartial()
OnCurrentMagazineChange(Int32, Int32)
Declaration
protected virtual void OnCurrentMagazineChange(int from, int to)
Parameters
| Type |
Name |
Description |
| System.Int32 |
from |
|
| System.Int32 |
to |
|
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnReloadSpeedMultiplierChanged()
Declaration
protected virtual void OnReloadSpeedMultiplierChanged()
OnValidate()
Declaration
protected virtual void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public virtual void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
Reload()
Declaration
public abstract Waitable Reload()
Returns
SendReloadCompletedEvent()
Declaration
protected void SendReloadCompletedEvent()
SendReloadStartedEvent()
Declaration
protected void SendReloadStartedEvent()
Start()
Declaration
protected virtual void Start()
Update()
Declaration
protected virtual void Update()
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public virtual void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
Events
onCurrentMagazineChange
Declaration
public event UnityAction<IModularFirearm, int> onCurrentMagazineChange
Event Type
onReloadComplete
Declaration
public event UnityAction<IModularFirearm> onReloadComplete
Event Type
onReloadStart
Declaration
public event UnityAction<IModularFirearm> onReloadStart
Event Type
Implements