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

◆ GetLiquidSource()

int GetLiquidSource ( ActionTarget target)
protected

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

144 {
145 vector hitPosition = target.GetCursorHitPos();
146 string surfaceType;
147 int liquidSource;
148
149 g_Game.SurfaceGetType3D(hitPosition[0], hitPosition[1], hitPosition[2], surfaceType);
150 string path = "CfgSurfaces " + surfaceType + " liquidType";
151 liquidSource = GetGame().ConfigGetInt(path);
152
153 return liquidSource;
154 }
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.