7 static proto
bool Exists(
string ammoType);
9 static proto
bool GetAmmoType(
string magazineType, out
string ammoType);
18 ErrorEx(
string.Format(
"%1 is not a magazineType or ammoType or has no default 'ammo' set up in config.", magazineType));
26 ammoType = magazineType;
static proto bool GetAmmoType(string magazineType, out string ammoType)
Get the default ammoType of a magazine.
static proto bool Exists(string ammoType)
Check if ammoType exists (registered in cfgAmmoTypes)
static bool MagazineTypeToAmmoType(string magazineType, out string ammoType)
Helper method.
private void AmmoTypesAPI()
private void ~AmmoTypesAPI()