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

◆ IsPlaceableAtPosition()

bool ItemBase::IsPlaceableAtPosition ( vector position)
inlineprotected

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

206 {
207 string surface_type;
208 GetGame().SurfaceGetType3D( position[0], position[1], position[2], surface_type);
209
210 // check surface
211 return GetGame().IsSurfaceDigable(surface_type);
212 }
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.
bool IsSurfaceDigable(string surface)
Checks if the surface is digable.
Определения Game.c:1156
proto native CGame GetGame()

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