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

◆ CheckRequestEx()

bool CheckRequestEx ( InventoryValidation validation)

Do not check for action validity on remotes or when performing through juncture. Juncture locks guarentee the item is safe to interact with and the server has validated the command at this point. Checking at this point is both wasteful and can result in a failure which leads to desync

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

93 {
97 if (validation.m_IsRemote || validation.m_IsJuncture)
98 return true;
99
100 return CheckRequest();
101 }
bool CheckRequest()
Определения Hand_Events.c:91
bool m_IsJuncture
Определения Inventory.c:45
bool m_IsRemote
Определения Inventory.c:46

Перекрестные ссылки HandEventBase::CheckRequest(), InventoryValidation::m_IsJuncture и InventoryValidation::m_IsRemote.