DayZ 1.29
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 строка 614

615 {
616 validation.m_Result = InventoryValidationResult.SUCCESS;
617
618 int index = -1;
619 if (!ctx.Read(index))
620 {
622 return true;
623 }
624
626 //m_UserReservationToClear = index;
627
628 return true;
629 }
InventoryValidationResult
proto native bool ClearUserReservedLocationAtIndex(int index)
InventoryValidationResult m_Result

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