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

◆ LockInventory()

bool ActionManagerClient::LockInventory ( ActionData action_data)
inlineprotected

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

587 {
588 bool success = false;
589 if (action_data.m_Action.IsInstant())
590 {
591#ifdef ENABLE_LOGGING
592 if (LogManager.IsActionLogEnable())
593 {
594 Debug.ActionLog("(-) Inventory lock - Not Used", action_data.m_Action.ToString() , "n/a", "LockInventory", action_data.m_Player.ToString());
595 }
596#endif
597 success = true;
598 }
599 else
600 {
601#ifdef ENABLE_LOGGING
602 if (LogManager.IsActionLogEnable())
603 {
604 Debug.ActionLog("(X) Inventory lock", action_data.m_Action.ToString() , "n/a", "LockInventory", action_data.m_Player.ToString());
605 }
606#endif
607 if (action_data.m_Action)
608 {
609 success = action_data.m_Action.InventoryReservation(action_data);
610 }
611 }
612 return success;
613 }
string Debug()
Определения CachedEquipmentStorageBase.c:26
PlayerBase m_Player
Определения ActionBase.c:40
ref ActionBase m_Action
Определения ActionBase.c:34

Перекрестные ссылки Debug::ActionLog(), LogManager::IsActionLogEnable(), ActionData::m_Action и ActionData::m_Player.