DayZ 1.24
|
Static Private Attributes | |
const string | LOG_DEBUG = "Debug" |
const string | LOG_DEBUG_ACTION = "Action" |
const string | LOG_DEBUG_SYMPTOM = "Symptom" |
const string | LOG_DEBUG_INV_MOVE = "Inv Move" |
const string | LOG_DEBUG_INV_RESERVATION = "Inv Rrsv" |
const string | LOG_DEBUG_INV_HFSM = "HFSM" |
const string | LOG_DEBUG_QUICKBAR = "Quickbar" |
const string | LOG_DEBUG_BASEBUILDING = "Base Building" |
const string | LOG_DEBUG_BLEEDING_CHANCES = "Bleeding" |
const string | LOG_DEBUG_TRIGGER = "Trigger" |
const string | LOG_DEBUG_PARTICLE = "Particle" |
const string | LOG_DEBUG_TF = "TestFramework" |
const string | LOG_DEBUG_WEIGHT = "Weight" |
const string | LOG_DEBUG_MELEE = "Melee" |
const string | LOG_DEBUG_WEATHER = "Weather" |
const string | LOG_INFO = "Info" |
const string | LOG_WARNING = "Warning" |
const string | LOG_ERROR = "Error" |
const string | LOG_DEFAULT = "n/a" |
ref array< Shape > | m_DebugShapes |
static Widget | m_DebugLayoutCanvas |
static CanvasWidget | m_CanvasDebug |
bool | m_EnabledLogs |
|
inlinestaticprivate |
Definition at line 143 of file Debug.c.
References LOG_DEBUG_ACTION, LogMessage(), and PrintToRPT().
Referenced by ActionManagerClient::ActionStart(), EntityAI::AddAction(), AddAction(), InventoryItem::AddAction(), AnimatedActionBase::Do(), AnimatedActionBase::End(), ActionInput::Init(), ActionInteractBaseCB::InitActionComponent(), ActionBaseCB::Interrupt(), ActionManagerClient::LockInventory(), OnActionEnd(), AnimatedActionBase::OnAnimationEvent(), ActionContinuousBaseCB::OnAnimationEvent(), ActionInteractBaseCB::OnAnimationEvent(), ActionContinuousBase::OnEndAnimationLoop(), ActionBaseCB::OnFinish(), ActionContinuousBase::OnFinishProgress(), ActionContinuousBase::OnStartAnimationLoop(), ActionManagerClient::ProcessActionInputEnd(), ActionManagerClient::ProcessActionRequestEnd(), ActionInput::SetInput(), SetupAction(), Start(), ActionManagerServer::StartDeliveredAction(), ActionManagerClient::UnlockInventory(), and ActionManagerServer::Update().
|
inlinestaticprivate |
Definition at line 203 of file Debug.c.
References LOG_DEBUG_BASEBUILDING, LogMessage(), and PrintToRPT().
|
inlinestaticprivate |
Definition at line 213 of file Debug.c.
References LOG_DEBUG_BLEEDING_CHANCES, LogMessage(), and PrintToRPT().
Referenced by BleedChanceData::CalculateBleedChance(), and BleedingSourcesManagerBase::ProcessHit().
|
inlinestaticprivate |
Definition at line 69 of file Debug.c.
References InitCanvas(), and m_CanvasDebug.
Referenced by CanvasDrawPoint().
Draws a "point" on the screen at x,y coordinates Debug.ClearCanvas(); for(int i = 0; i < 700;i++) { float val = i/700; float y = Easing.EaseInOutExpo(val); Debug.CanvasDrawPoint(i,y*700,ARGBF( 0.6, 1, 1, 1 )); }.
Definition at line 86 of file Debug.c.
References CanvasDrawLine().
Definition at line 63 of file Debug.c.
References m_CanvasDebug.
Definition at line 638 of file Debug.c.
References CloseFile(), FileExist(), FPrintln(), GetFileName(), and OpenFile().
Referenced by ScriptConsoleEnfScriptTab::Clear(), ScriptConsoleOutputTab::Clear(), and ClearScriptLogs().
Definition at line 396 of file Debug.c.
References ClearLogs().
Definition at line 96 of file Debug.c.
References m_DebugShapes.
|
inlinestaticprivate |
Definition at line 511 of file Debug.c.
References m_DebugShapes, and Shape.
Referenced by Component::DebugDirectionDraw(), PluginBase::DrawDebugs(), DrawDebugShape(), SceneObject::EditorLineAdd(), and UIScriptedMenu::Update().
|
inlinestaticprivate |
Definition at line 401 of file Debug.c.
References DrawBoxEx().
Referenced by Component::DebugBBoxDraw(), Transport::DebugFreeAreaAtDoor(), EntityAI::DebugFreeAreaAtDoor(), DrawDebugCollisionBox(), and SceneObject::EditorShapeAdd().
|
inlinestaticprivate |
Definition at line 406 of file Debug.c.
References m_DebugShapes, and Shape.
Referenced by DrawBox().
|
inlinestaticprivate |
Definition at line 458 of file Debug.c.
References Math3D::ConePoints(), Math::Cos(), DrawLine(), Math::Sin(), and Vector().
|
inlinestaticprivate |
Definition at line 414 of file Debug.c.
References m_DebugShapes, and Shape.
|
inlinestaticprivate |
Definition at line 450 of file Debug.c.
References m_DebugShapes, and Shape.
Referenced by PluginBase::DrawDebugs().
|
inlinestaticprivate |
|
inlinestaticprivate |
DrawLine \nFlags:
ShapeFlags.NOZBUFFER
ShapeFlags.NOZUPDATE
ShapeFlags.DOUBLESIDE
ShapeFlags.WIREFRAME
ShapeFlags.TRANSP
ShapeFlags.ONCE
ShapeFlags.NOOUTLINE
ShapeFlags.NOCULL
Definition at line 489 of file Debug.c.
References m_DebugShapes, and Shape.
Referenced by CalculateEyeAccoTarget(), DrawCone(), WeaponDebug::DrawLineOfFire(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), PluginBase::EditorUpdateRuler(), GatherSurfaces(), and GetMeleeTargetEx().
|
inlinestaticprivate |
Definition at line 502 of file Debug.c.
References m_DebugShapes, and Shape.
Referenced by WeaponDebug::OnPostFrameUpdate().
|
inlinestaticprivate |
Definition at line 434 of file Debug.c.
References m_DebugShapes, and Shape.
Referenced by CalculateEyeAccoTarget(), WeaponDebug::DrawBarrelMemoryPoints(), DrawDebugShape(), WeaponDebug::DrawEyePoint(), WeaponDebug::DrawLineOfFire(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), PluginBase::EditorUpdateRuler(), Hologram::GetProjectionEntityPosition(), PluginBase::OnUpdate(), and SpookyEventBase::Perform().
|
inlinestaticprivate |
Returns some of base config classes strings like CfgVehicles, CfgWeapons, etc. for searching purposes.
base_classes | out TStringArray Array containing some of base config classes |
Definition at line 523 of file Debug.c.
References CFG_AMMO, CFG_MAGAZINESPATH, CFG_NONAI_VEHICLES, CFG_SOUND_SETS, CFG_SOUND_SHADERS, CFG_SOUND_TABLES, CFG_SURFACES, CFG_VEHICLESPATH, CFG_WEAPONSPATH, and CFG_WORLDS.
Referenced by UIPopupScript::ClearHierarchy(), UIPopupScript::FindInHierarchy(), GetFiltredConfigClasses(), and ScriptConsoleConfigTab::Init().
|
inlinestaticprivate |
Definition at line 656 of file Debug.c.
References GetHourMinuteSecond(), and GetYearMonthDay().
Referenced by LogMessage().
Definition at line 651 of file Debug.c.
References CFG_FILE_SCRIPT_LOG_EXT.
Referenced by ClearLogs(), ScriptConsoleOutputTab::ReloadOutput(), and SaveLog().
|
inlinestaticprivate |
Returns config classes containing search_string in name.
search_string | string String to search in class names |
filtered_classes | out TStringArray Array containing filtered classes based on search_string |
only_public | bool Set to true to return only public classes, set to false to return all filtered classes |
Definition at line 544 of file Debug.c.
References GetBaseConfigClasses(), and GetGame().
Definition at line 54 of file Debug.c.
References GetGame(), m_CanvasDebug, and m_DebugLayoutCanvas.
Referenced by CanvasDrawLine().
|
inlinestaticprivate |
Definition at line 183 of file Debug.c.
References LOG_DEBUG_INV_HFSM, LogMessage(), and PrintToRPT().
Referenced by HandActionBase::Action(), HandEventBase::CanPerformEvent(), HandEventSwap::CanPerformEvent(), HandEventBase::CanPerformEventEx(), HandEventBase::CheckRequest(), HandEventSwap::CheckRequest(), HandEventBase::CheckRequestSrc(), HandGuardBase::GuardCondition(), HandGuardHasItemInEvent::GuardCondition(), HandleHandEvent(), HandleTakeToDst(), HandStateBase::OnAbort(), HandStateBase::OnEntry(), HandStartAction::OnEntry(), and HumanInventoryWithFSM::ProcessHandEvent().
|
inlinestaticprivate |
Definition at line 163 of file Debug.c.
References LOG_DEBUG_INV_MOVE, LogMessage(), and PrintToRPT().
Referenced by GameInventory::AddInventoryReservationEx(), GameInventory::ClearInventoryReservationEx(), GameInventory::ExtendInventoryReservationEx(), ForceSwapEntities(), HandleForceSwapEntities(), HandleSwapEntities(), HandleTakeToDst(), StoreInputForRemotes(), SwapEntities(), TakeToDst(), TryAcquireTwoInventoryJuncturesFromServer(), ValidateDestroy(), ValidateHandEvent(), ValidateSwap(), and ValidateSyncMove().
|
inlinestaticprivate |
Definition at line 173 of file Debug.c.
References LOG_DEBUG_INV_RESERVATION, LogMessage(), and PrintToRPT().
Referenced by CGame::AddInventoryJunctureEx(), CGame::ClearJunctureEx(), and TryAcquireTwoInventoryJuncturesFromServer().
|
inlinestaticprivate |
Prints debug message with normal prio.
msg | string Debug message for print |
void
None Definition at line 133 of file Debug.c.
References LOG_DEBUG, LogMessage(), and PrintToRPT().
Referenced by InventoryItem::AddAction(), RecipeBase::ApplyModificationsResults(), Managed::BleedingIndicator(), PluginRecipesManagerBase::CallbackGenerateCache(), ChangePPEMaterial(), CheckContactCache(), PlayerSpawnHandler::CreateChildItem(), PPEManagerStatic::CreateManagerStatic(), DamageCrew(), Debug(), RecipeBase::Do(), ScriptConsoleItemsTab::DrawItems(), SpookyArea::EEInit(), EOnPostSimulate(), KeysToUIElements::GetKeyToUIElement(), GetName(), PlayerSpawnPreset::GetRandomCharacterType(), Managed::GetRequester(), Managed::GetRequester(), Managed::GetRequesterID(), Managed::GetRequesterTypename(), LogTemplates::GetTemplate(), GetValue(), ManBase::HideHairSelections(), MissionBase::InvokeOnConnect(), MissionBase::InvokeOnDisconnect(), PlayerSpawnPreset::IsValid(), IsValid(), PlayerSpawnPresetDiscreteItemSetSlotData::IsValid(), MessageReceiverBase::Log(), Entity::Log(), PluginBase::Log(), Environment::LogDryWetProcess(), BloodTypes::MatchBloodCompatibility(), Entity::OnAction(), ManBase::OnConnect(), OnContact(), ManBase::OnDisconnect(), MissionBase::OnEvent(), ActionDigInStash::OnFinishProgressServer(), Icon::OnPerformRecipe(), ManBase::OnReconnect(), DayZPlayer::OnSoundEvent(), DayZPlayer::OnStepEvent(), OpenAndSwitchLambda::OnSuccess(), OnUpdate(), RecipeBase::PerformRecipe(), InventoryItem::PlayDeployFinishSound(), InventoryItem::PlayDeployLoopSoundEx(), InventoryItem::PlayDeploySound(), MissionBase::PlayerControlDisable(), InventoryItem::PlayPlaceSound(), PlayerAgentPool::PrintAgents(), PrintOut(), PluginRecipesManagerBase::PrintResultMasks(), ItemBase::PrintSlots(), PlayerSpawnHandler::ProcessCargoEquipment(), PlayerSpawnHandler::ProcessSlotsEquipment(), InventoryLocation::ReadFromContext(), GameplayEffectsData::RegisterData(), KeysToUIElements::RegisterKeyToUIElement(), LogTemplates::RegisterLogTamplate(), Managed::RegisterRequester(), PluginBase::Repair(), ManBase::Save(), PPERequesterBase::SetRequesterUpdating(), SetRequestUpdating(), SetupAnimation(), PlayerSpawnHandler::SpawnComplexChildrenItems(), PlayerSpawnHandler::SpawnDiscreteSlotItemSet(), RecipeBase::SpawnItems(), PlayerSpawnHandler::SpawnSimpleChildrenItems(), TranslateAndValidateSlot(), Entity::TryDelete(), and Managed::VerifyRequester().
|
inlinestaticprivate |
Definition at line 351 of file Debug.c.
References LOG_DEBUG, LogMessage(), and PrintToRPT().
|
inlinestaticprivate |
Definition at line 367 of file Debug.c.
References LOG_DEBUG, LogMessage(), and PrintToRPT().
Referenced by PrintOut().
|
inlinestaticprivate |
Prints debug message as error message.
msg | string Debug message for error print |
void
None Definition at line 341 of file Debug.c.
References LOG_ERROR, LogMessage(), and PrintToRPT().
Referenced by EntityAI::AddAction(), AddAction(), InventoryItem::AddAction(), ActionCollectBloodTargetLambda::CopyOldPropertiesToNew(), TanLeatherLambda::CopyOldPropertiesToNew(), ReplaceItemWithNewLambda::CopyOldPropertiesToNew(), DeveloperFreeCamera::DisableFreeCamera(), DeveloperFreeCamera::EnableFreeCamera(), FireworksLauncherClientEvent::FireworksLauncherClientEvent(), Entity::GetDefaultHitComponent(), Entity::GetDefaultHitPosition(), Entity::GetDefaultHitPositionComponent(), Entity::GetHitComponentForAI(), FireworksLauncherClientEvent::GetShotPos(), Entity::GetSuitableFinisherHitComponents(), LogError(), Entity::LogError(), Component::LogErrorBadCompType(), Component::LogThisError(), Component::LogWarningAlredyExist(), Normalize(), OnStoreLoad(), SymptomManager::OnSymptomExit(), OpenItem::OpenAndSwitch(), PlaySound(), InventoryItem::SetQuantity(), and Tick().
|
inlinestaticprivate |
Prints debug message with normal prio.
msg | string Debug message for print |
void
None Definition at line 301 of file Debug.c.
References LOG_INFO, LogMessage(), and PrintToRPT().
Referenced by LogInfo().
|
inlinestaticprivate |
DEPRECATED.
Definition at line 584 of file Debug.c.
References CALL_ID_SEND_LOG, CallMethod(), string::Empty, GetDate(), GetGame(), LogManager::IsLogsEnable(), and SaveLog().
Referenced by ActionLog(), BaseBuildingLog(), BleedingChancesLog(), InventoryHFSMLog(), InventoryMoveLog(), InventoryReservationLog(), Log(), LogArrayInt(), LogArrayString(), LogError(), LogInfo(), LogWarning(), MeleeLog(), ParticleLog(), QuickbarLog(), SymptomLog(), TFLog(), TriggerLog(), and WeatherLog().
|
inlinestaticprivate |
Prints debug message as warning message.
msg | string Debug message for warning print |
void
None Definition at line 321 of file Debug.c.
References LOG_WARNING, LogMessage(), and PrintToRPT().
Referenced by Entity::CanDisplayAttachmentSlot(), Component::LogThisWarning(), Entity::LogWarning(), and DeveloperTeleport::TeleportAtCursor().
|
inlinestaticprivate |
Definition at line 267 of file Debug.c.
References GetDebugName(), LOG_DEBUG_MELEE, LogMessage(), and PrintToRPT().
|
inlinestaticprivate |
Definition at line 233 of file Debug.c.
References GetDebugName(), LOG_DEBUG_PARTICLE, LogMessage(), and PrintToRPT().
Referenced by PMTF::PrintActiveStats(), PMTF::PrintPMStats(), TestInvalidSize(), and TestOwnership().
|
inlinestaticprivate |
Definition at line 193 of file Debug.c.
References LOG_DEBUG_QUICKBAR, LogMessage(), and PrintToRPT().
Definition at line 383 of file Debug.c.
References LogManager::IsLogsEnable(), PrintToRPT(), and SaveLog().
Referenced by PluginBase::OnRPCServerLogRecieved().
Definition at line 107 of file Debug.c.
References m_DebugShapes, and Shape.
Referenced by PluginBase::CleanupDebugShapes(), WeaponDebug::DrawLineOfFire(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), WeaponDebug::RemoveAllShapes(), and RemoveDebugShape().
Definition at line 617 of file Debug.c.
References CALL_ID_SCR_CNSL_ADD_PRINT, Dispatcher::CallMethod(), CloseFile(), FPrintln(), GetDispatcher(), GetFileName(), OpenFile(), CachedObjectsParams::PARAM1_STRING, and Print().
Referenced by LogMessage(), and ReceivedLogMessageFromServer().
|
inlinestaticprivate |
Definition at line 153 of file Debug.c.
References LOG_DEBUG_SYMPTOM, LogMessage(), and PrintToRPT().
Referenced by SymptomBase::OnGetActivatedClient(), SymptomBase::OnGetActivatedServer(), SymptomBase::OnGetDeactivatedClient(), and SymptomBase::OnGetDeactivatedServer().
|
inlinestaticprivate |
Definition at line 243 of file Debug.c.
References GetDebugName(), LOG_DEBUG_TF, LogMessage(), and PrintToRPT().
Referenced by TFModule::PrintResult(), EnProfilerTests::TestClassCountData(), EnProfilerTests::TestClassTimeData(), EnProfilerTests::TestFuncTimeData(), and EnProfilerTests::TestModule().
|
inlinestaticprivate |
Definition at line 223 of file Debug.c.
References LOG_DEBUG_TRIGGER, LogMessage(), and PrintToRPT().
Referenced by Trigger::AddInsider(), TriggerEvents::Enter(), TriggerEvents::Leave(), Trigger::RemoveInsider(), TriggerEvents::Stay(), TriggerEvents::StayFinish(), TriggerEvents::StayStart(), and Trigger::UpdateInsiders().
|
inlinestaticprivate |
Definition at line 278 of file Debug.c.
References LogManager::IsWeatherLogEnabled(), LOG_DEBUG_WEATHER, LogMessage(), and PrintToRPT().
Referenced by WorldData::WeatherOnBeforeChange().
Definition at line 15 of file Debug.c.
Referenced by Log(), LogArrayInt(), and LogArrayString().
Definition at line 16 of file Debug.c.
Referenced by ActionLog().
Definition at line 22 of file Debug.c.
Referenced by BaseBuildingLog().
Definition at line 23 of file Debug.c.
Referenced by BleedingChancesLog().
Definition at line 20 of file Debug.c.
Referenced by InventoryHFSMLog().
Definition at line 18 of file Debug.c.
Referenced by InventoryMoveLog().
Definition at line 19 of file Debug.c.
Referenced by InventoryReservationLog().
Definition at line 28 of file Debug.c.
Referenced by MeleeLog().
Definition at line 25 of file Debug.c.
Referenced by ParticleLog().
Definition at line 21 of file Debug.c.
Referenced by QuickbarLog().
Definition at line 17 of file Debug.c.
Referenced by SymptomLog().
Definition at line 24 of file Debug.c.
Referenced by TriggerLog().
Definition at line 29 of file Debug.c.
Referenced by WeatherLog().
Definition at line 33 of file Debug.c.
Referenced by LogError().
Definition at line 32 of file Debug.c.
Referenced by LogWarning().
|
staticprivate |
Definition at line 39 of file Debug.c.
Referenced by CanvasDrawLine(), ClearCanvas(), and InitCanvas().
|
staticprivate |
Definition at line 38 of file Debug.c.
Referenced by InitCanvas().
Definition at line 36 of file Debug.c.
Referenced by DestroyAllShapes(), DrawArrow(), DrawBoxEx(), DrawCube(), DrawCylinder(), DrawFrustum(), DrawLine(), DrawLines(), DrawSphere(), Init(), and RemoveShape().