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

◆ LockInventory()

bool ActionManagerClient::LockInventory ( ActionData action_data)
inlineprotected

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

565 {
566 bool success = false;
567 if (action_data.m_Action.IsInstant())
568 {
569 if (LogManager.IsActionLogEnable())
570 {
571 Debug.ActionLog("(-) Inventory lock - Not Used", action_data.m_Action.ToString() , "n/a", "LockInventory", action_data.m_Player.ToString());
572 }
573 success = true;
574 }
575 else
576 {
577 if (LogManager.IsActionLogEnable())
578 {
579 Debug.ActionLog("(X) Inventory lock", action_data.m_Action.ToString() , "n/a", "LockInventory", action_data.m_Player.ToString());
580 }
581 if (action_data.m_Action)
582 {
583 success = action_data.m_Action.InventoryReservation(action_data);
584 }
585 }
586 return success;
587 }
void Debug()
Определения UniversalTemperatureSource.c:349

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