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

◆ GetLiquidSource()

int GetLiquidSource ( ActionTarget target)
protected

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

124 {
125 vector hitPosition = target.GetCursorHitPos();
126 string surfaceType;
127 int liquidSource;
128
129 g_Game.SurfaceGetType3D(hitPosition[0], hitPosition[1], hitPosition[2], surfaceType);
130 string path = "CfgSurfaces " + surfaceType + " liquidType";
131 liquidSource = GetGame().ConfigGetInt(path);
132
133 return liquidSource;
134 }
DayZGame g_Game
Определения DayZGame.c:3868
string path
Определения OptionSelectorMultistate.c:142
proto native int ConfigGetInt(string path)
Get int value from config on path.
Определения EnConvert.c:106
proto native CGame GetGame()

Перекрестные ссылки ActionTarget, CGame::ConfigGetInt(), g_Game, GetGame() и path.

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