740 {
742 return true;
743
745 #ifdef ENABLE_LOGGING
746 if ( LogManager.IsInventoryReservationLogEnable() )
747 {
749 if ( player )
750 {
751 if (item)
752 Debug.InventoryMoveLog(
"Reservation result: " + ret_val +
" - STS = " + player.GetSimulationTimeStamp() +
" / " + item.ToString() +
" / " + InventoryLocation.DumpToStringNullSafe(dst),
"n/a" ,
"n/a",
"ExtendInventoryReservation", player.ToString() );
753 else
754 Debug.InventoryMoveLog(
"Reservation result: " + ret_val +
" - STS = " + player.GetSimulationTimeStamp() +
" / null / " + InventoryLocation.DumpToStringNullSafe(dst),
"n/a" ,
"n/a",
"ExtendInventoryReservation", player.ToString() );
755 }
756 }
757 #endif
758 return ret_val;
759 }
proto native DayZPlayer GetPlayer()
static proto native bool ExtendInventoryReservation(EntityAI item, InventoryLocation dst, int timeout_ms)
proto native CGame GetGame()