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

◆ ExtendInventoryReservationEx()

bool GameInventory::ExtendInventoryReservationEx ( EntityAI item,
InventoryLocation dst,
int timeout_ms )
inlineprotected

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

742 {
743 if (g_Game.IsMultiplayer() && g_Game.IsServer() )
744 return true;
745
746 bool ret_val = ExtendInventoryReservation(item,dst,timeout_ms);
747 #ifdef ENABLE_LOGGING
748 if ( LogManager.IsInventoryReservationLogEnable() )
749 {
750 DayZPlayer player = g_Game.GetPlayer();
751 if ( player )
752 {
753 if (item)
754 Debug.InventoryReservationLog("Reservation result: " + ret_val + " - STS = " + player.GetSimulationTimeStamp() + " / " + item.ToString() + " / " + InventoryLocation.DumpToStringNullSafe(dst), "n/a" , "n/a", "ExtendInventoryReservation", player.ToString() );
755 else
756 Debug.InventoryReservationLog("Reservation result: " + ret_val + " - STS = " + player.GetSimulationTimeStamp() + " / null / " + InventoryLocation.DumpToStringNullSafe(dst), "n/a" , "n/a", "ExtendInventoryReservation", player.ToString() );
757 }
758 }
759 #endif
760 return ret_val;
761 }
string Debug()
Определения CachedEquipmentStorageBase.c:29
DayZGame g_Game
Определения DayZGame.c:3942
static proto native bool ExtendInventoryReservation(EntityAI item, InventoryLocation dst, int timeout_ms)

Перекрестные ссылки InventoryLocation::DumpToStringNullSafe(), ExtendInventoryReservation(), g_Game, Debug::InventoryReservationLog() и LogManager::IsInventoryReservationLogEnable().