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

◆ ExcludeFromContainer_Phase2()

bool VicinityItemManager::ExcludeFromContainer_Phase2 ( Object object_in_radius)
inlineprivate

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

154 {
155 EntityAI entity;
156
157 if (!Class.CastTo(entity, object_in_radius))
158 return true;
159 if (entity == PlayerBase.Cast(GetGame().GetPlayer()))
160 return true;
161 if (entity.IsParticle())
162 return true;
163 if (entity.IsScriptedLight())
164 return true;
165 if (entity.IsBeingPlaced())
166 return true;
167 if (entity.IsHologram())
168 return true;
169
170 ItemBase item;
171 if (!Class.CastTo(item, object_in_radius))
172 return true;
173
174 return false;
175 }
class LogManager EntityAI
class GP5GasMask extends MaskBase ItemBase
PlayerBase GetPlayer()
Определения ModifierBase.c:51
proto native CGame GetGame()

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

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