DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetEmptyingEndSoundset()

string GetEmptyingEndSoundset ( )
private

См. определение в файле Bottle_Base.c строка 316

317 {
318 vector pos = GetPosition();
319 string surfaceType = g_Game.GetPlayer().GetSurfaceType();
320 string soundSet = "";
321
322 bool diggable = g_Game.IsSurfaceDigable(surfaceType);
323
324 if (!diggable)
325 {
326 soundSet = GetEmptyingEndSoundsetHard();
327 }
328 else if (diggable)
329 {
330 soundSet = GetEmptyingEndSoundsetSoft();
331 }
332 else if (g_Game.SurfaceIsPond(pos[0], pos[2]) || g_Game.SurfaceIsSea(pos[0], pos[2]))
333 {
334 soundSet = GetEmptyingEndSoundsetWater();
335 }
336
337 return soundSet;
338 }
string GetEmptyingEndSoundsetSoft()
string GetEmptyingEndSoundsetHard()
string GetEmptyingEndSoundsetWater()
DayZGame g_Game
Определения DayZGame.c:3942
Определения EnConvert.c:119
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки g_Game, Bottle_Base::GetEmptyingEndSoundsetHard(), Bottle_Base::GetEmptyingEndSoundsetSoft(), Bottle_Base::GetEmptyingEndSoundsetWater() и GetPosition().

Используется в StopEmptyingLoopSound().