DayZ 1.24
Loading...
Searching...
No Matches
CrashSoundSets Class Reference

Static Private Member Functions

static void RegisterSoundSet (string sound_set)
 
static string GetSoundSetByHash (int hash)
 

Static Private Attributes

static ref map< int, stringm_Mappings = new map<int, string>
 

Detailed Description

Definition at line 44 of file DayZGame.c.

Member Function Documentation

◆ GetSoundSetByHash()

static string CrashSoundSets::GetSoundSetByHash ( int hash)
inlinestaticprivate

Definition at line 53 of file DayZGame.c.

54 {
55 string sound_set;
56 if (m_Mappings)
58 return sound_set;
59 }
static ref map< int, string > m_Mappings
Definition DayZGame.c:46

References m_Mappings.

Referenced by CGame::OnRPC().

◆ RegisterSoundSet()

static void CrashSoundSets::RegisterSoundSet ( string sound_set)
inlinestaticprivate

Definition at line 48 of file DayZGame.c.

49 {
50 m_Mappings.Set(sound_set.Hash(), sound_set);
51 }

References m_Mappings.

Referenced by House::Init().

Member Data Documentation

◆ m_Mappings

ref map<int, string> CrashSoundSets::m_Mappings = new map<int, string>
staticprivate

Definition at line 46 of file DayZGame.c.

Referenced by GetSoundSetByHash(), and RegisterSoundSet().


The documentation for this class was generated from the following file: