DayZ 1.24
Loading...
Searching...
No Matches
LogManager Class Reference
Collaboration diagram for LogManager:
[legend]

Static Private Member Functions

static void Init ()
 
static bool IsLogsEnable ()
 
static void SetLogsEnabled (bool enable)
 
static bool IsActionLogEnable ()
 
static void ActionLogEnable (bool enable)
 
static bool IsInventoryMoveLogEnable ()
 
static void InventoryMoveLogEnable (bool enable)
 
static bool IsInventoryReservationLogEnable ()
 
static void InventoryReservationLogEnable (bool enable)
 
static bool IsInventoryHFSMLogEnable ()
 
static void InventoryHFSMLogEnable (bool enable)
 
static bool IsSyncLogEnable ()
 
static void SyncLogEnable (bool enable)
 
static bool IsQuickbarLogEnable ()
 
static void QuickbarLogEnable (bool enable)
 
static bool IsBaseBuildingLogEnable ()
 
static void BaseBuildingLogEnable (bool enable)
 
static bool IsSymptomLogEnable ()
 
static void SymptomLogEnable (bool enable)
 
static bool IsWeaponLogEnable ()
 
static void WeaponLogEnable (bool enable)
 
static bool IsWeatherLogEnabled ()
 
static bool IsBleedingChancesLogEnable ()
 
static void BleedingChancesLogEnable (bool enable)
 

Static Private Attributes

static bool m_DoLogs
 
static bool m_DoActionDebugLog
 
static bool m_DoSymptomDebugLog
 
static bool m_DoInventoryMoveLog
 
static bool m_DoInventoryReservationLog
 
static bool m_DoInventoryHFSMLog
 
static bool m_DoSyncLog
 
static bool m_DoQuickbarLog
 
static bool m_DoBaseBuildingLog
 
static bool m_DoWeaponLog
 
static bool m_DoWeatherLog
 
static bool m_DoBleedingChanceLog
 

Detailed Description

Definition at line 674 of file Debug.c.

Member Function Documentation

◆ ActionLogEnable()

static void LogManager::ActionLogEnable ( bool enable)
inlinestaticprivate

Definition at line 724 of file Debug.c.

725 {
727 }
static bool m_DoActionDebugLog
Definition Debug.c:677

References m_DoActionDebugLog.

◆ BaseBuildingLogEnable()

static void LogManager::BaseBuildingLogEnable ( bool enable)
inlinestaticprivate

Definition at line 784 of file Debug.c.

785 {
787 }
static bool m_DoBaseBuildingLog
Definition Debug.c:684

References m_DoBaseBuildingLog.

◆ BleedingChancesLogEnable()

static void LogManager::BleedingChancesLogEnable ( bool enable)
inlinestaticprivate

Definition at line 819 of file Debug.c.

820 {
822 }
static bool m_DoBleedingChanceLog
Definition Debug.c:687

References m_DoBleedingChanceLog.

◆ Init()

static void LogManager::Init ( )
inlinestaticprivate

Definition at line 689 of file Debug.c.

690 {
691#ifdef DIAG_DEVELOPER
692 m_DoLogs = true;
693#else
694 m_DoLogs = IsCLIParam("doLogs");
695#endif
696
697 m_DoActionDebugLog = IsCLIParam("doActionLog");
698 m_DoSymptomDebugLog = IsCLIParam("doSymptomLog");
699 m_DoInventoryMoveLog = IsCLIParam("doInvMoveLog");
700 m_DoInventoryReservationLog = IsCLIParam("doInvReservLog");
701 m_DoInventoryHFSMLog = IsCLIParam("doInvHFSMLog");
702 m_DoSyncLog = IsCLIParam("doSyncLog");
703 m_DoQuickbarLog = IsCLIParam("doQuickbarLog");
704 m_DoBaseBuildingLog = IsCLIParam("doBaseBuildingLog");
705 m_DoWeaponLog = IsCLIParam("doWeaponLog");
706 m_DoWeatherLog = IsCLIParam("doWeatherLog");
707 }
static bool m_DoSyncLog
Definition Debug.c:682
static bool m_DoLogs
Definition Debug.c:676
static bool m_DoInventoryHFSMLog
Definition Debug.c:681
static bool m_DoSymptomDebugLog
Definition Debug.c:678
static bool m_DoInventoryReservationLog
Definition Debug.c:680
static bool m_DoWeatherLog
Definition Debug.c:686
static bool m_DoWeaponLog
Definition Debug.c:685
static bool m_DoInventoryMoveLog
Definition Debug.c:679
static bool m_DoQuickbarLog
Definition Debug.c:683
proto native bool IsCLIParam(string param)
Returns if command line argument is present.

References IsCLIParam(), m_DoActionDebugLog, m_DoBaseBuildingLog, m_DoInventoryHFSMLog, m_DoInventoryMoveLog, m_DoInventoryReservationLog, m_DoLogs, m_DoQuickbarLog, m_DoSymptomDebugLog, m_DoSyncLog, m_DoWeaponLog, and m_DoWeatherLog.

Referenced by CGame::CGame().

◆ InventoryHFSMLogEnable()

static void LogManager::InventoryHFSMLogEnable ( bool enable)
inlinestaticprivate

Definition at line 754 of file Debug.c.

755 {
757 }

References m_DoInventoryHFSMLog.

◆ InventoryMoveLogEnable()

static void LogManager::InventoryMoveLogEnable ( bool enable)
inlinestaticprivate

Definition at line 734 of file Debug.c.

735 {
737 }

References m_DoInventoryMoveLog.

◆ InventoryReservationLogEnable()

static void LogManager::InventoryReservationLogEnable ( bool enable)
inlinestaticprivate

Definition at line 744 of file Debug.c.

745 {
747 }

References m_DoInventoryReservationLog.

◆ IsActionLogEnable()

◆ IsBaseBuildingLogEnable()

◆ IsBleedingChancesLogEnable()

static bool LogManager::IsBleedingChancesLogEnable ( )
inlinestaticprivate

Definition at line 814 of file Debug.c.

815 {
817 }

References m_DoBleedingChanceLog.

Referenced by BleedChanceData::CalculateBleedChance(), and BleedingSourcesManagerBase::ProcessHit().

◆ IsInventoryHFSMLogEnable()

static bool LogManager::IsInventoryHFSMLogEnable ( )
inlinestaticprivate

Definition at line 749 of file Debug.c.

750 {
752 }

References m_DoInventoryHFSMLog.

Referenced by HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Abort(), HandActionBase::Action(), HandEventBase::CanPerformEvent(), HandEventSwap::CanPerformEvent(), HandEventBase::CanPerformEventEx(), HandEventBase::CheckRequest(), HandEventSwap::CheckRequest(), HandEventBase::CheckRequestSrc(), ReplaceItemWithNewLambdaBase::CopyOldPropertiesToNew(), ReplaceItemWithNewLambdaBase::CreateNetworkObjectInfo(), ReplaceItemWithNewLambdaBase::CreateNewEntity(), ReplaceItemWithNewLambdaBase::DeleteOldEntity(), HumanInventory::DropEntity(), ReplaceItemWithNewLambdaBase::Execute(), Execute(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::FindAbortDestinationState(), HumanInventory::ForceSwapEntities(), HandGuardBase::GuardCondition(), HandGuardHasItemInEvent::GuardCondition(), HandleHandEvent(), HandleInventory(), HandleTakeToDst(), HumanInventoryWithFSM::Init(), Init(), HumanInventory::LocalDestroyEntity(), HandStateBase::OnAbort(), HumanInventory::OnEntityInHandsCreated(), HumanInventory::OnEntityInHandsDestroyed(), HandStateBase::OnEntry(), HandStartAction::OnEntry(), HandStateBase::OnExit(), OnHandEventForRemote(), OnHandsEnteredStableState(), OnHandsExitedStableState(), OnHandsStateChanged(), ReplaceItemWithNewLambdaBase::OnSuccess(), ReplaceItemWithNewLambdaBase::PrepareLocations(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessAbortEvent(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessAbortEvent(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessAbortTransition(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessAbortTransition(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessEvent(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessEvent(), HumanInventoryWithFSM::ProcessHandAbortEvent(), HumanInventoryWithFSM::ProcessHandEvent(), FSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessLocalTransition(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessLocalTransition(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessLocalTransition(), OFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessLocalTransition(), HumanInventory::RedirectToHandEvent(), HumanInventory::ReplaceItemInElsewhereWithNewinHandsImpl(), HumanInventory::ReplaceItemInHandsWithNewImpl(), SelectAnimationOfForceSwapInHands(), SelectAnimationOfMoveFromHands(), SelectAnimationOfTakeToHands(), OFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), FSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), HumanInventory::SwapEntities(), SyncHandEventToRemote(), HumanInventory::TakeEntityAsAttachmentEx(), HumanInventory::TakeEntityToCargoEx(), HumanInventory::TakeEntityToInventory(), HumanInventory::TakeToDst(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Terminate(), and HumanInventory::ThrowEntity().

◆ IsInventoryMoveLogEnable()

◆ IsInventoryReservationLogEnable()

◆ IsLogsEnable()

static bool LogManager::IsLogsEnable ( )
inlinestaticprivate

Definition at line 709 of file Debug.c.

710 {
711 return m_DoLogs;
712 }

References m_DoLogs.

Referenced by Debug::LogMessage(), MissionBase::OnInit(), and Debug::ReceivedLogMessageFromServer().

◆ IsQuickbarLogEnable()

static bool LogManager::IsQuickbarLogEnable ( )
inlinestaticprivate

Definition at line 769 of file Debug.c.

770 {
771 return m_DoQuickbarLog;
772 }

References m_DoQuickbarLog.

◆ IsSymptomLogEnable()

static bool LogManager::IsSymptomLogEnable ( )
inlinestaticprivate

◆ IsSyncLogEnable()

static bool LogManager::IsSyncLogEnable ( )
inlinestaticprivate

Definition at line 759 of file Debug.c.

760 {
761 return m_DoSyncLog;
762 }

References m_DoSyncLog.

Referenced by HandEventBase::CheckRequestSrc(), EntityAI::DropEntityImpl(), EntityAI::ForceSwapEntitiesImpl(), EntityAI::LocalDestroyEntityInHands(), ManBase::NeedInventoryJunctureFromServer(), OnHandleStoredInputUserData(), OnHandleStoredJunctureData(), OnInputUserDataForRemote(), OnInputUserDataProcess(), OnInventoryJunctureFromServer(), ManBase::OnQuickBarSingleUse(), OnServerInventoryCommand(), GameInventory::OnServerInventoryCommandStatic(), DayZPlayerCommandDeathCallback::OnSimulationEnd(), EntityAI::PredictiveMoveItemFromHandsToInventory(), EntityAI::ReplaceItemElsewhereWithNewInHandsImpl(), EntityAI::ReplaceItemInHandsWithNewElsewhereImpl(), EntityAI::ReplaceItemInHandsWithNewImpl(), EntityAI::ReplaceItemWithNewImpl(), InventoryInputUserData::SendInputUserDataDestroy(), InventoryInputUserData::SendInputUserDataHandEvent(), InventoryInputUserData::SendInputUserDataMove(), InventoryInputUserData::SendInputUserDataSwap(), InventoryInputUserData::SendServerHandEventViaInventoryCommand(), SendServerHandEventViaJuncture(), InventoryInputUserData::SendServerMove(), InventoryInputUserData::SendServerSwap(), EntityAI::SwapEntitiesImpl(), EntityAI::TakeEntityAsAttachmentExImpl(), EntityAI::TakeEntityAsAttachmentImpl(), ManBase::TakeEntityAsAttachmentImpl(), EntityAI::TakeEntityToCargoImpl(), ManBase::TakeEntityToCargoImpl(), EntityAI::TakeEntityToHandsImpl(), ManBase::TakeEntityToHandsImpl(), EntityAI::TakeEntityToInventoryImpl(), ManBase::TakeEntityToInventoryImpl(), EntityAI::TakeEntityToTargetAttachmentExImpl(), ManBase::TakeEntityToTargetAttachmentImpl(), EntityAI::TakeEntityToTargetCargoExImpl(), EntityAI::TakeEntityToTargetCargoImpl(), ManBase::TakeEntityToTargetCargoImpl(), EntityAI::TakeEntityToTargetInventoryImpl(), ManBase::TakeEntityToTargetInventoryImpl(), TakeToDst(), EntityAI::TakeToDstImpl(), ManBase::TakeToDstImpl(), TryAcquireInventoryJunctureFromServer(), TryAcquireTwoInventoryJuncturesFromServer(), ValidateHandEvent(), ValidateSwap(), and ValidateSyncMove().

◆ IsWeaponLogEnable()

static bool LogManager::IsWeaponLogEnable ( )
inlinestaticprivate

Definition at line 799 of file Debug.c.

800 {
801 return m_DoWeaponLog;
802 }

References m_DoWeaponLog.

Referenced by AbortWeaponEvent(), Weapon::CanRemoveFromHands(), ejectBulletAndStoreInMagazine(), WeaponGuardBase::GuardCondition(), GuardCondition(), HandleWeaponEvents(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::LoadAndSetCurrentFSMState(), WeaponStateBase::LoadCurrentFSMState(), Weapon::LoadCurrentFSMState(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::LoadCurrentFSMState(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::LoadCurrentUnstableFSMState(), magazinesHaveEqualSizes(), WeaponStateBase::OnAbort(), WeaponChambering_Base::OnAbort(), OnAbort(), WeaponStableState::OnEntry(), WeaponStateJammed::OnEntry(), WeaponStateBase::OnEntry(), WeaponChambering_Base::OnEntry(), WeaponStartAction::OnEntry(), WeaponFire::OnEntry(), OnEntry(), OnEventForRemoteWeapon(), OnExit(), WeaponStableState::OnExit(), WeaponStateJammed::OnExit(), WeaponChambering_Base::OnExit(), WeaponChambering_Cartridge::OnExit(), WeaponStateBase::OnExit(), Weapon::OnStoreLoad(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::OnStoreLoad(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::OnStoreSave(), WeaponStartAction::OnUpdate(), PostWeaponEvent(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessEvent(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessEvent(), pushToChamberFromAttachedMagazine(), pushToChamberFromInnerMagazine(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::RandomizeFSMStateEx(), Weapon::ResetWeaponAnimState(), WeaponStateBase::SaveCurrentFSMState(), Weapon::SaveCurrentFSMState(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::SaveCurrentFSMState(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::SaveCurrentUnstableFSMState(), SyncAnimState(), Weapon::SyncEventToRemote(), and HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ValidateAndRepairHelper().

◆ IsWeatherLogEnabled()

static bool LogManager::IsWeatherLogEnabled ( )
inlinestaticprivate

Definition at line 809 of file Debug.c.

810 {
811 return m_DoWeatherLog;
812 }

References m_DoWeatherLog.

Referenced by Debug::WeatherLog().

◆ QuickbarLogEnable()

static void LogManager::QuickbarLogEnable ( bool enable)
inlinestaticprivate

Definition at line 774 of file Debug.c.

775 {
777 }

References m_DoQuickbarLog.

◆ SetLogsEnabled()

static void LogManager::SetLogsEnabled ( bool enable)
inlinestaticprivate

Definition at line 714 of file Debug.c.

715 {
717 }

References m_DoLogs.

Referenced by ScriptConsoleGeneralTab::OnClick().

◆ SymptomLogEnable()

static void LogManager::SymptomLogEnable ( bool enable)
inlinestaticprivate

Definition at line 794 of file Debug.c.

795 {
797 }

References m_DoSymptomDebugLog.

◆ SyncLogEnable()

static void LogManager::SyncLogEnable ( bool enable)
inlinestaticprivate

Definition at line 764 of file Debug.c.

765 {
767 }

References m_DoSyncLog.

◆ WeaponLogEnable()

static void LogManager::WeaponLogEnable ( bool enable)
inlinestaticprivate

Definition at line 804 of file Debug.c.

805 {
807 }

References m_DoWeaponLog.

Member Data Documentation

◆ m_DoActionDebugLog

bool LogManager::m_DoActionDebugLog
staticprivate

Definition at line 677 of file Debug.c.

Referenced by ActionLogEnable(), Init(), and IsActionLogEnable().

◆ m_DoBaseBuildingLog

bool LogManager::m_DoBaseBuildingLog
staticprivate

Definition at line 684 of file Debug.c.

Referenced by BaseBuildingLogEnable(), Init(), and IsBaseBuildingLogEnable().

◆ m_DoBleedingChanceLog

bool LogManager::m_DoBleedingChanceLog
staticprivate

Definition at line 687 of file Debug.c.

Referenced by BleedingChancesLogEnable(), and IsBleedingChancesLogEnable().

◆ m_DoInventoryHFSMLog

bool LogManager::m_DoInventoryHFSMLog
staticprivate

Definition at line 681 of file Debug.c.

Referenced by Init(), InventoryHFSMLogEnable(), and IsInventoryHFSMLogEnable().

◆ m_DoInventoryMoveLog

bool LogManager::m_DoInventoryMoveLog
staticprivate

Definition at line 679 of file Debug.c.

Referenced by Init(), InventoryMoveLogEnable(), and IsInventoryMoveLogEnable().

◆ m_DoInventoryReservationLog

bool LogManager::m_DoInventoryReservationLog
staticprivate

Definition at line 680 of file Debug.c.

Referenced by Init(), InventoryReservationLogEnable(), and IsInventoryReservationLogEnable().

◆ m_DoLogs

bool LogManager::m_DoLogs
staticprivate

Definition at line 676 of file Debug.c.

Referenced by Init(), IsLogsEnable(), and SetLogsEnabled().

◆ m_DoQuickbarLog

bool LogManager::m_DoQuickbarLog
staticprivate

Definition at line 683 of file Debug.c.

Referenced by Init(), IsQuickbarLogEnable(), and QuickbarLogEnable().

◆ m_DoSymptomDebugLog

bool LogManager::m_DoSymptomDebugLog
staticprivate

Definition at line 678 of file Debug.c.

Referenced by Init(), IsSymptomLogEnable(), and SymptomLogEnable().

◆ m_DoSyncLog

bool LogManager::m_DoSyncLog
staticprivate

Definition at line 682 of file Debug.c.

Referenced by Init(), IsSyncLogEnable(), and SyncLogEnable().

◆ m_DoWeaponLog

bool LogManager::m_DoWeaponLog
staticprivate

Definition at line 685 of file Debug.c.

Referenced by Init(), IsWeaponLogEnable(), and WeaponLogEnable().

◆ m_DoWeatherLog

bool LogManager::m_DoWeatherLog
staticprivate

Definition at line 686 of file Debug.c.

Referenced by Init(), and IsWeatherLogEnabled().


The documentation for this class was generated from the following file: