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

◆ IsSurfaceWater()

bool ItemBase::IsSurfaceWater ( vector position)
inlineprotected

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

678 {
679 string surfaceType;
680 GetGame().SurfaceGetType3D(position[0], position[1], position[2], surfaceType);
681
682 return Surface.AllowedWaterSurface(position[1] + 0.1, surfaceType, m_PlaceableWaterSurfaceList);
683 }
proto float SurfaceGetType3D(float x, float y, float z, out string type)
Y input: Maximum Y to trace down from; Returns: Y position the surface was found.
ref array< string > m_PlaceableWaterSurfaceList
Определения TrapSpawnBase.c:43
proto native CGame GetGame()

Перекрестные ссылки Surface::AllowedWaterSurface(), GetGame(), m_PlaceableWaterSurfaceList и CGame::SurfaceGetType3D().