class AmmoTypesAPI
Members 1
static protected ref map<string, ref map<string, ref ExplosiveEffectData>> m_TypeToSurfaceParticleIDMapMethods 7
Check if ammoType exists (registered in cfgAmmoTypes)
Referenced by MagazineTypeToAmmoType()
Get the default ammoType of a magazine
Referenced by MagazineTypeToAmmoType()
Helper method
static void Init()References AddExplosionParticleEffect(), ParticleList.EXPLOSION_GRENADE_DESERT_SAND, ParticleList.EXPLOSION_GRENADE_ICE
Referenced by MissionBase.MissionBase()
static void AddExplosionParticleEffect(string ammoName, string surfaceName, int particleID, string soundSetName = "")References new ExplosiveEffectData(), map.Find(), map.Insert()
Show 2 more
, Insert(), and m_TypeToSurfaceParticleIDMapstatic ExplosiveEffectData GetExplosiveEffectData(string ammoName, string surfaceName)References AddExplosionParticleEffect(), CGame.ConfigGetText(), Find()
Show 6 more
, string.Format(), map.Get(), Get(), ParticleList.GetParticleIDByName(), m_TypeToSurfaceParticleIDMap, and ParticleList.NONEstatic void Cleanup()Referenced by MissionBase.~MissionBase()