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

◆ ValidateUserReservationCancel()

bool HumanInventory::ValidateUserReservationCancel ( inout Serializer ctx,
InventoryValidation validation )
inlineprotected

TODO(kumarjac): It returned true and claimed success before, is this correct?

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

552 {
553 validation.m_Result = InventoryValidationResult.SUCCESS;
554
555 int index = -1;
556 if (!ctx.Read(index))
557 {
559 return true;
560 }
561
563 //m_UserReservationToClear = index;
564
565 return true;
566 }
InventoryValidationResult
proto native bool ClearUserReservedLocationAtIndex(int index)
InventoryValidationResult m_Result

Перекрестные ссылки ClearUserReservedLocationAtIndex() и InventoryValidation::m_Result.