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

◆ CanPerformEvent() [3/3]

override bool HandEventBase::CanPerformEvent ( )
inlineprivate

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

670 {
671 if (GameInventory.CanForceSwapEntitiesEx(GetSrc().GetItem(), m_Dst, m_Src2.GetItem(), m_Dst2))
672 return true;
673
674 #ifdef ENABLE_LOGGING
675 if ( LogManager.IsInventoryHFSMLogEnable() )
676 {
677 Debug.InventoryHFSMLog("CANNOT perform", typename.EnumToString(HandEventID, GetEventID()) , "n/a", "CanPerformEvent", m_Player.ToString() );
678 }
679 #endif
680 return false;
681 }
string Debug()
Определения CachedEquipmentStorageBase.c:29
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
EntityAI GetItem()
Определения RadialQuickbarMenu.c:37
ref InventoryLocation m_Dst2
src of old item in hands
Определения Hand_Events.c:565
ref InventoryLocation m_Src2
destination for new item (i.e. hands)
Определения Hand_Events.c:564
ref InventoryLocation m_Dst
Определения Hand_Events.c:275

Перекрестные ссылки GameInventory::CanForceSwapEntitiesEx(), GetEventID(), GetItem(), GetSrc(), Debug::InventoryHFSMLog(), LogManager::IsInventoryHFSMLogEnable(), m_Dst, m_Dst2, m_Player и m_Src2.