Class AmmoSupplyCrate
- Namespace
- Uncreated.Warfare.FOBs.SupplyCrates
- Assembly
- Uncreated.Warfare.dll
public class AmmoSupplyCrate : IAmmoStorage
- Inheritance
-
AmmoSupplyCrate
- Implements
- Inherited Members
Properties
AmmoCount
public float AmmoCount { get; }
Property Value
Owner
public CSteamID Owner { get; }
Property Value
- CSteamID
Methods
FromSupplyCrate(SupplyCrate, FobManager)
public static AmmoSupplyCrate FromSupplyCrate(SupplyCrate supplyCrate, FobManager fobManager)
Parameters
supplyCrateSupplyCratefobManagerFobManager
Returns
SubtractAmmo(float)
public void SubtractAmmo(float ammoCount)
Parameters
ammoCountfloat
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.