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

◆ MaterialIsRuined()

bool MaterialIsRuined ( string part_name)
protected

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

628 {
629 ConstructionPart part = GetConstructionPart(part_name);
631 foreach (ConstructionMaterialData dta : materials)
632 {
633 ItemBase attachment = ItemBase.Cast(m_EntityParent.FindAttachmentBySlotName(dta.m_MaterialSlotName));
634 if (attachment && attachment.IsRuined())
635 return true;
636 }
637
638 return false;
639 }
ConstructionPart GetConstructionPart()
Определения ActionPartInfo.c:235
EntityAI m_EntityParent
Определения ConstructionBase.c:45
instanced data holder for single construction material
Определения ConstructionMaterials.c:3
array< ref ConstructionMaterialData > GetMaterialsData()
Определения ConstructionPart.c:346
Instanced construction part data classes for dynamic data, statics now stored on EntityType level in ...
Определения ConstructionPart.c:4
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки GetConstructionPart(), ConstructionPart::GetMaterialsData() и m_EntityParent.

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