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

◆ CanPerformEventEx()

override bool HandEventBase::CanPerformEventEx ( InventoryValidation validation)
inlineprivate

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

239 {
240 if (!GameInventory.LocationCanMoveEntity(GetSrc(), GetDst()))
241 {
242 #ifdef ENABLE_LOGGING
243 if ( LogManager.IsInventoryHFSMLogEnable() )
244 {
245 Debug.InventoryHFSMLog("CANNOT perform", typename.EnumToString(HandEventID, GetEventID()) , "n/a", "CanPerformEvent", m_Player.ToString() );
246 }
247 #endif
248 //if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("[desync] HandleInputData man=" + Object.GetDebugName(m_Player) + " CANNOT perform ev=" + DumpToString());
249 return false;
250 }
251
252 return super.CanPerformEventEx(validation);
253 }
string Debug()
Определения CachedEquipmentStorageBase.c:26
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
override InventoryLocation GetDst()
Определения Hand_Events.c:215

Перекрестные ссылки GetDst(), GetEventID(), GetSrc(), Debug::InventoryHFSMLog(), LogManager::IsInventoryHFSMLogEnable(), GameInventory::LocationCanMoveEntity() и m_Player.

Используется в ExecuteHandEventCommandClient(), ExecuteHandEventCommandServer(), HandEvent(), HandleHandEvent(), ValidateHandEvent() и ValidateHandEventServer().