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

◆ EEInit()

void GameInventory::EEInit ( )
inlineprotected

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

846 {
847 InventoryLocation src = new InventoryLocation;
849 {
850 if (src.GetType() == InventoryLocationType.HANDS)
851 {
852 Man man = Man.Cast(src.GetParent());
853 if (man)
854 {
855 if (LogManager.IsInventoryMoveLogEnable()) inventoryDebugPrint("Inventory::EEInit - Man=" + man + " item=" + this);
856 man.GetHumanInventory().OnEntityInHandsCreated(src);
857 }
858 }
859 }
860 }
void inventoryDebugPrint(string s)
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4
proto native bool GetCurrentInventoryLocation(out notnull InventoryLocation loc)
returns information about current item location
proto native EntityAI GetParent()
returns parent of current inventory location
proto native int GetType()
returns type of InventoryLocation

Перекрестные ссылки GetCurrentInventoryLocation(), InventoryLocation::GetParent(), InventoryLocation::GetType(), inventoryDebugPrint() и LogManager::IsInventoryMoveLogEnable().

Используется в Entity::EEInit().