См. определение в файле 3_Game/DayZ/Systems/Inventory/Inventory.c строка 764
765 {
767 return true;
768
770 #ifdef ENABLE_LOGGING
771 if ( LogManager.IsInventoryReservationLogEnable() )
772 {
773 DayZPlayer player =
g_Game.GetPlayer();
774 if ( player )
775 {
776 if (item)
777 Debug.InventoryReservationLog(
"Reservation cleared result: " + ret_val +
" - STS = " + player.GetSimulationTimeStamp() +
" / " + item.ToString() +
" / " + InventoryLocation.DumpToStringNullSafe(dst),
"n/a" ,
"n/a",
"ClearInventoryReservation", player.ToString() );
778 else
779 Debug.InventoryReservationLog(
"Reservation cleared result: " + ret_val +
" - STS = " + player.GetSimulationTimeStamp() +
" / null / " + InventoryLocation.DumpToStringNullSafe(dst),
"n/a" ,
"n/a",
"ClearInventoryReservation", player.ToString() );
780 }
781 }
782 #endif
783 return ret_val;
784 }
void ClearInventoryReservation()
Перекрестные ссылки ClearInventoryReservation(), InventoryLocation::DumpToStringNullSafe(), g_Game, Debug::InventoryReservationLog() и LogManager::IsInventoryReservationLogEnable().
Используется в ClearInventoryReservation(), DeferredSwapEntities::ClearInventoryReservation(), WeaponManager::InventoryReservation(), WeaponManager::OnSyncJuncture(), WeaponManager::OnWeaponActionEnd() и DeferredSwapEntities::ReserveInventory().