763 {
765 return true;
766
768 #ifdef ENABLE_LOGGING
769 if ( LogManager.IsInventoryReservationLogEnable() )
770 {
772 if ( player )
773 {
774 if (item)
775 Debug.InventoryMoveLog(
"Reservation cleared result: " + ret_val +
" - STS = " + player.GetSimulationTimeStamp() +
" / " + item.ToString() +
" / " + InventoryLocation.DumpToStringNullSafe(dst),
"n/a" ,
"n/a",
"ClearInventoryReservation", player.ToString() );
776 else
777 Debug.InventoryMoveLog(
"Reservation cleared result: " + ret_val +
" - STS = " + player.GetSimulationTimeStamp() +
" / null / " + InventoryLocation.DumpToStringNullSafe(dst),
"n/a" ,
"n/a",
"ClearInventoryReservation", player.ToString() );
778 }
779 }
780 #endif
781 return ret_val;
782 }
void ClearInventoryReservation()
proto native DayZPlayer GetPlayer()
proto native CGame GetGame()