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

◆ IsPlayerInVicinity()

bool ItemBase::IsPlayerInVicinity ( )
inlineprotected

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

518 {
519 if (!GetCEApi())
520 {
521 Debug.Log("CE not enabled, player avoidance not available!");
522 return false;
523 }
524
525 return !GetCEApi().AvoidPlayer(GetPosition(), m_CurrentMinimalDistance);
526 }
proto native CEApi GetCEApi()
Get the CE API.
void Debug()
Определения UniversalTemperatureSource.c:349
float m_CurrentMinimalDistance
Определения TrapSpawnBase.c:23
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки GetCEApi(), GetPosition, Debug::Log() и m_CurrentMinimalDistance.

Используется в TrySpawnCatch().