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

◆ CheckRequestSrc() [4/4]

override bool HandEventBase::CheckRequestSrc ( )
inlineprivate

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

606 {
607 //return false;
608
609 if (!GameInventory.CheckRequestSrc(m_Player, GetSrc(), GameInventory.c_MaxItemDistanceRadius))
610 {
611 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[cheat] HandleInputData man=" + Object.GetDebugName(m_Player) + " failed src1 check with cmd=" + typename.EnumToString(HandEventID, GetEventID()) + " src1=" + InventoryLocation.DumpToStringNullSafe(GetSrc()));
612 return false; // stale packet
613 }
614 if (!GameInventory.CheckRequestSrc(m_Player, m_Src2, GameInventory.c_MaxItemDistanceRadius))
615 {
616 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));
617 return false; // stale packet
618 }
619 return true;
620 }
void syncDebugPrint(string s)
Определения 3_Game/Systems/Inventory/Debug.c:1
DayZPlayer m_Player
Определения Hand_Events.c:42
InventoryLocation GetSrc()
Определения Hand_Events.c:80
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:559
class LOD Object

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