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

◆ HasMaterialWithQuantityAttached()

bool HasMaterialWithQuantityAttached ( string slot_name,
float quantity )
protected

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

1130 {
1131 ItemBase attachment = ItemBase.Cast(m_EntityParent.FindAttachmentBySlotName(slot_name));
1132 if (attachment && ((int)quantity == -1 || attachment.GetQuantity() >= quantity)) //-1 - deletes the object
1133 return true;
1134
1135 return false;
1136 }
EntityAI m_EntityParent
Определения ConstructionBase.c:45

Перекрестные ссылки m_EntityParent.

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