MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / GetID

Method GetID

ogsr_engine/xrSound/SoundRender_Environment.cpp:257–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257int SoundEnvironment_LIB::GetID(LPCSTR name)
258{
259 for (SE_IT it = library.begin(); it != library.end(); ++it)
260 if (0 == _stricmp(name, *(*it)->name))
261 return int(it - library.begin());
262
263 return -1;
264}
265
266CSoundRender_Environment* SoundEnvironment_LIB::Get(int id) const { return library[id]; }
267

Callers 5

AnswerPhraseMethod · 0.45
SayPhraseMethod · 0.45
UpdateQuestionsMethod · 0.45
set_geometry_envMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected