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

◆ IsSurfaceWater()

bool ItemBase::IsSurfaceWater ( vector position)
inlineprotected

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

708 {
709 string surfaceType;
710 GetGame().SurfaceGetType3D(position[0], position[1], position[2], surfaceType);
711
712 return Surface.AllowedWaterSurface(position[1] + 0.1, surfaceType, m_PlaceableWaterSurfaceList);
713 }
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().