Table of Contents

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

float

Owner

public CSteamID Owner { get; }

Property Value

CSteamID

Methods

FromSupplyCrate(SupplyCrate, FobManager)

public static AmmoSupplyCrate FromSupplyCrate(SupplyCrate supplyCrate, FobManager fobManager)

Parameters

supplyCrate SupplyCrate
fobManager FobManager

Returns

AmmoSupplyCrate

SubtractAmmo(float)

public void SubtractAmmo(float ammoCount)

Parameters

ammoCount float

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.