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

◆ ExcludeFromContainer_Phase3()

bool VicinityItemManager::ExcludeFromContainer_Phase3 ( Object object_in_cone)
inlineprivate

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

178 {
179 EntityAI entity;
180 PlayerBase player = PlayerBase.Cast(g_Game.GetPlayer());
181
182 //Print("---object in cone: " + object_in_cone);
183 if (!Class.CastTo(entity, object_in_cone))
184 return true;
185 if (entity == player)
186 return true;
187 if (entity.IsParticle())
188 return true;
189 if (entity.IsScriptedLight())
190 return true;
191 if (entity.IsBeingPlaced())
192 return true;
193 if (entity.IsHologram())
194 return true;
195
196 if (!entity.IsDetectableByVicinityCone())
197 return true;
198
199 return false;
200 }
class LogManager EntityAI
DayZGame g_Game
Определения DayZGame.c:4074

Перекрестные ссылки Class::CastTo() и g_Game.

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