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

◆ CheckRequestSrc() [4/4]

override bool HandEventBase::CheckRequestSrc ( )
inlineprivate

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

621 {
622 //return false;
623
624 if (!GameInventory.CheckRequestSrc(m_Player, GetSrc(), GameInventory.c_MaxItemDistanceRadius))
625 {
626 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[cheat] HandleInputData man=" + Object.GetDebugName(m_Player) + " failed src1 check with cmd=" + typename.EnumToString(HandEventID, GetEventID()) + " src1=" + InventoryLocation.DumpToStringNullSafe(GetSrc()));
627 return false; // stale packet
628 }
629 if (!GameInventory.CheckRequestSrc(m_Player, m_Src2, GameInventory.c_MaxItemDistanceRadius))
630 {
631 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[cheat] HandleInputData man=" + Object.GetDebugName(m_Player) + " failed src2 check with cmd=" + typename.EnumToString(HandEventID, GetEventID()) + " src2=" + InventoryLocation.DumpToStringNullSafe(m_Src2));
632 return false; // stale packet
633 }
634 return true;
635 }
void syncDebugPrint(string s)
InventoryLocation GetSrc()
Определения Hand_Events.c:80
DayZPlayer m_Player
Определения Hand_Events.c:42
HandEventID GetEventID()
Определения Hand_Events.c:53
HandEventID
events
Определения Hand_Events.c:7
ref InventoryLocation m_Src2
destination for new item (i.e. hands)
Определения Hand_Events.c:564
class LOD Object

Перекрестные ссылки GameInventory::c_MaxItemDistanceRadius, GameInventory::CheckRequestSrc(), InventoryLocation::DumpToStringNullSafe(), GetEventID(), GetSrc(), LogManager::IsSyncLogEnable(), m_Player, m_Src2 и syncDebugPrint().