DIFF

class AmmoTypesAPI

Constructors 2

private void AmmoTypesAPI()
private void ~AmmoTypesAPI()

Members 1

static protected ref map<string, ref map<string, ref ExplosiveEffectData>> m_TypeToSurfaceParticleIDMap

Methods 7

static proto bool Exists(string ammoType)

Check if ammoType exists (registered in cfgAmmoTypes)

static proto bool GetAmmoType(string magazineType, out string ammoType)

Get the default ammoType of a magazine

static bool MagazineTypeToAmmoType(string magazineType, out string ammoType)

Helper method

References ErrorEx(), Exists(), string.Format()
Show 1 more, GetAmmoType()
static void AddExplosionParticleEffect(string ammoName, string surfaceName, int particleID, string soundSetName = "")
References new ExplosiveEffectData(), map.Find(), map.Insert()
Show 2 more, Insert(), and m_TypeToSurfaceParticleIDMap
Referenced by GetExplosiveEffectData(), and Init()
static void Cleanup()