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

◆ GetEmptyingEndSoundset()

string GetEmptyingEndSoundset ( )
private

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

317 {
318 vector pos = GetPosition();
319 string surfaceType = GetGame().GetPlayer().GetSurfaceType();
320 string soundSet = "";
321
322 bool diggable = GetGame().IsSurfaceDigable(surfaceType);
323
324 if (!diggable)
325 {
326 soundSet = GetEmptyingEndSoundsetHard();
327 }
328 else if (diggable)
329 {
330 soundSet = GetEmptyingEndSoundsetSoft();
331 }
332 else if (GetGame().SurfaceIsPond(pos[0], pos[2]) || GetGame().SurfaceIsSea(pos[0], pos[2]))
333 {
334 soundSet = GetEmptyingEndSoundsetWater();
335 }
336
337 return soundSet;
338 }
string GetEmptyingEndSoundsetSoft()
string GetEmptyingEndSoundsetHard()
string GetEmptyingEndSoundsetWater()
bool IsSurfaceDigable(string surface)
Checks if the surface is digable.
Определения Game.c:1156
proto native DayZPlayer GetPlayer()
string GetSurfaceType(SurfaceAnimationBone limbType)
Определения DayZPlayerImplement.c:3137
Определения EnConvert.c:106
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки Bottle_Base::GetEmptyingEndSoundsetHard(), Bottle_Base::GetEmptyingEndSoundsetSoft(), Bottle_Base::GetEmptyingEndSoundsetWater(), GetGame(), CGame::GetPlayer(), GetPosition, DayZPlayer::GetSurfaceType() и CGame::IsSurfaceDigable().

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