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

◆ CanCombineAttachment()

bool Entity::CanCombineAttachment ( notnull EntityAI e,
int slot,
bool stack_max_limit = false )
inlineprotected

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

1495 {
1496 EntityAI att = GetInventory().FindAttachment(slot);
1497 if(att)
1498 return att.CanBeCombined(e, true, stack_max_limit);
1499 return false;
1500 }
proto native GameInventory GetInventory()
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
Определения EntityAI.c:202
proto native EntityAI FindAttachment(int slot)
Returns attached entity in slot (you can use InventorySlots.GetSlotIdFromString(name) to get slot id)

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