Interface IAmmo
Assembly: NeoFPS.dll
Syntax
Properties
atMaximum
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
available
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
currentAmmo
Declaration
Property Value
| Type |
Description |
| System.Int32 |
|
effect
Declaration
IAmmoEffect effect { get; }
Property Value
firearm
Declaration
IModularFirearm firearm { get; }
Property Value
maxAmmo
Declaration
Property Value
| Type |
Description |
| System.Int32 |
|
printableName
Declaration
string printableName { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
DecrementAmmo(Int32)
Declaration
void DecrementAmmo(int amount)
Parameters
| Type |
Name |
Description |
| System.Int32 |
amount |
|
Disable()
Declaration
Enable()
Declaration
IncrementAmmo(Int32)
Declaration
void IncrementAmmo(int amount)
Parameters
| Type |
Name |
Description |
| System.Int32 |
amount |
|
Events
onCurrentAmmoChange
Declaration
event UnityAction<IModularFirearm, int> onCurrentAmmoChange
Event Type