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

◆ TakeEntityAsAttachmentEx()

bool GameInventory::TakeEntityAsAttachmentEx ( InventoryMode mode,
notnull EntityAI item,
int slot )
inlineprotected

См. определение в файле 3_Game/Systems/Inventory/Inventory.c строка 1128

1129 {
1130 if (LogManager.IsInventoryMoveLogEnable()) inventoryDebugPrint("[inv] I::Take2AttEx(" + typename.EnumToString(InventoryMode, mode) + ") item=" + item + " slot=" + slot);
1131 return TakeEntityAsTargetAttachmentEx(mode, GetInventoryOwner(), item, slot);
1132 }
void inventoryDebugPrint(string s)
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
proto native EntityAI GetInventoryOwner()
Engine native functions.
bool TakeEntityAsTargetAttachmentEx(InventoryMode mode, notnull EntityAI target, notnull EntityAI item, int slot)
put item as attachment of target

Перекрестные ссылки GetInventoryOwner(), inventoryDebugPrint(), LogManager::IsInventoryMoveLogEnable() и TakeEntityAsTargetAttachmentEx().