DayZ 1.24
Loading...
Searching...
No Matches
AnimSoundObjectBuilderBank Class Reference
Collaboration diagram for AnimSoundObjectBuilderBank:
[legend]

Private Member Functions

void AnimSoundObjectBuilderBank ()
 
SoundObjectBuilder GetBuilder (string soundSetName)
 

Static Private Member Functions

static AnimSoundObjectBuilderBank GetInstance ()
 

Private Attributes

autoptr map< int, ref SoundObjectBuilderm_pBuilders
 

Static Private Attributes

static ref AnimSoundObjectBuilderBank m_instance
 

Detailed Description

Definition at line 129 of file DayZAnimEventMaps.c.

Constructor & Destructor Documentation

◆ AnimSoundObjectBuilderBank()

void AnimSoundObjectBuilderBank::AnimSoundObjectBuilderBank ( )
inlineprivate

Definition at line 131 of file DayZAnimEventMaps.c.

132 {
134 }
autoptr map< int, ref SoundObjectBuilder > m_pBuilders

References m_pBuilders.

Referenced by GetInstance().

Member Function Documentation

◆ GetBuilder()

SoundObjectBuilder AnimSoundObjectBuilderBank::GetBuilder ( string soundSetName)
inlineprivate

Definition at line 146 of file DayZAnimEventMaps.c.

147 {
148 int soundSetNameHash = soundSetName.Hash();
149
151 if (builder == NULL)
152 {
154 if (params.IsValid())
155 {
158 }
159 else
160 {
161 Print("AnimSoundObjectBuilderBank: Invalid sound set \"" + soundSetName + "\".");
162 return NULL;
163 }
164 }
165 return builder;
166 }
void SoundObjectBuilder(SoundParams soundParams)
proto void Print(void var)
Prints content of variable to console/log.

References m_pBuilders, Print(), and SoundObjectBuilder().

◆ GetInstance()

static AnimSoundObjectBuilderBank AnimSoundObjectBuilderBank::GetInstance ( )
inlinestaticprivate

Definition at line 137 of file DayZAnimEventMaps.c.

138 {
139 if (m_instance == NULL)
141
142 return m_instance;
143 }
static ref AnimSoundObjectBuilderBank m_instance

References AnimSoundObjectBuilderBank(), and m_instance.

Referenced by SoundLookupTable::LoadTable().

Member Data Documentation

◆ m_instance

ref AnimSoundObjectBuilderBank AnimSoundObjectBuilderBank::m_instance
staticprivate

Definition at line 168 of file DayZAnimEventMaps.c.

Referenced by GetInstance().

◆ m_pBuilders

autoptr map<int, ref SoundObjectBuilder> AnimSoundObjectBuilderBank::m_pBuilders
private

Definition at line 169 of file DayZAnimEventMaps.c.

Referenced by AnimSoundObjectBuilderBank(), and GetBuilder().


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