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

◆ EEInit()

void GameInventory::EEInit ( )
inlineprotected

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

844 {
845 InventoryLocation src = new InventoryLocation;
847 {
848 if (src.GetType() == InventoryLocationType.HANDS)
849 {
850 Man man = Man.Cast(src.GetParent());
851 if (man)
852 {
853 if (LogManager.IsInventoryMoveLogEnable()) inventoryDebugPrint("Inventory::EEInit - Man=" + man + " item=" + this);
854 man.GetHumanInventory().OnEntityInHandsCreated(src);
855 }
856 }
857 }
858 }
void inventoryDebugPrint(string s)
Определения Debug.c:19
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().