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

◆ GetLiquidSource()

int GetLiquidSource ( ActionTarget target)
protected

DEPRECATED.

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

138 {
139 vector hitPosition = target.GetCursorHitPos();
140 string surfaceType;
141 int liquidSource;
142
143 g_Game.SurfaceGetType3D(hitPosition[0], hitPosition[1], hitPosition[2], surfaceType);
144 string path = "CfgSurfaces " + surfaceType + " liquidType";
145 liquidSource = g_Game.ConfigGetInt(path);
146
147 return liquidSource;
148 }
DayZGame g_Game
Определения DayZGame.c:4074
string path
Определения OptionSelectorMultistate.c:142
Определения EnConvert.c:119

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