Защищенные данные | |
| ref map< string, ref map< string, ref DustKickupParticleData > > | m_DustEffPaths = new map<string, ref map<string, ref DustKickupParticleData>>() |
| ref map< string, ref array< ref DustKickupEffectDistanceData > > | m_EffectRanges = new map<string, ref array<ref DustKickupEffectDistanceData>>() |
Закрытые члены | |
| void | DustKickupEffects () |
| void | Init () |
| void | LoadAmmoTypes () |
| void | LoadDustEffectPaths () |
| Going over all surfaces, extracting all dust particles paths from each surface. | |
| array< string > | DetermineParticles (string ammoType, float fraction, float depth) |
| Determines what particles should play based on the ammo type and distance of the weapon from the ground. | |
| void | PlaySoundEffect (DustKickupParams params) |
| void | PlayParticle (DustKickupParams params) |
Закрытые статические члены | |
| static DustKickupEffects | GetInstance () |
| static void | CleanupInstance () |
Закрытые данные | |
| string | m_DustKickupSoundSetName = "KickupDustEffect_SoundSet" |
| const float | MAX_DISTANCE_FOR_EFFECT = 2.0 |
| const float | EFFECT_COOLDOWN_MIN = 0.5 |
| vlaues for the cooldown are in seconds | |
| const float | EFFECT_COOLDOWN_MAX = 1.0 |
| float | m_TimeUntilNextEffect = 0.0 |
Закрытые статические данные | |
| static ref DustKickupEffects | m_DustKickupEffects = NULL |
См. определение в файле DustKickupEffects.c строка 43