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

◆ HasMaterialWithQuantityAttached()

bool HasMaterialWithQuantityAttached ( string slot_name,
float quantity )
protected

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

659 {
660 ItemBase attachment = ItemBase.Cast( GetParent().FindAttachmentBySlotName( slot_name ) );
661
662 if ( attachment && attachment.GetQuantity() >= quantity )
663 {
664 return true;
665 }
666
667 return false;
668 }
Определения InventoryItem.c:731
BaseBuildingBase GetParent()
Get parent of the Effect.
Определения Construction.c:40

Перекрестные ссылки GetParent().

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