Class PassthroughReloader
Inheritance
PassthroughReloader
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 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
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
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
Reload()
Declaration
Returns
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public 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