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

Static Private Member Functions

static string GetDebugName (Managed entity)
 
static void InitCanvas ()
 
static void ClearCanvas ()
 
static void CanvasDrawLine (float x1, float y1, float x2, float y2, float width, int color)
 
static void CanvasDrawPoint (float x1, float y1, int color)
 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 )); }.
 
static void Init ()
 
static void DestroyAllShapes ()
 
static void RemoveShape (out Shape shape)
 
static void Log (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 Prints debug message with normal prio.
 
static void ActionLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void SymptomLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void InventoryMoveLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void InventoryReservationLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void InventoryHFSMLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void QuickbarLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void BaseBuildingLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void BleedingChancesLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void TriggerLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void ParticleLog (string message=LOG_DEFAULT, Managed caller=null, string function="", Managed entity=null)
 
static void TFLog (string message=LOG_DEFAULT, TestFramework caller=null, string function="")
 
static void WeightLog (string message=LOG_DEFAULT, Managed caller=null, string function="", Managed entity=null)
 
static void MeleeLog (Entity entity, string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT)
 
static void WeatherLog (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void LogInfo (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 Prints debug message with normal prio.
 
static void LogWarning (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 Prints debug message as warning message.
 
static void LogError (string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 Prints debug message as error message.
 
static void LogArrayInt (array< int > arr=NULL, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void LogArrayString (array< string > arr=NULL, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
 
static void ReceivedLogMessageFromServer (string message)
 
static void ClearScriptLogs ()
 
static Shape DrawBox (vector pos1, vector pos2, int color=0x1fff7f7f)
 
static Shape DrawBoxEx (vector pos1, vector pos2, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOZWRITE)
 
static Shape DrawCube (vector pos, float size=1, int color=0x1fff7f7f)
 
static Shape DrawSphere (vector pos, float size=1, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE)
 
static Shape DrawFrustum (float horizontalAngle, float verticalAngle, float length, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.WIREFRAME)
 
static Shape DrawCylinder (vector pos, float radius, float height=1, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE)
 
static array< ShapeDrawCone (vector pos, float lenght, float halfAngle, float offsetAngle, int color=0xFFFFFFFF, int flags=0)
 
static Shape DrawLine (vector from, vector to, int color=0xFFFFFFFF, int flags=0)
 
static Shape DrawLines (vector[] positions, int count, int color=0xFFFFFFFF, int flags=0)
 
static Shape DrawArrow (vector from, vector to, float size=0.5, int color=0xFFFFFFFF, int flags=0)
 
static void GetBaseConfigClasses (out TStringArray base_classes)
 Returns some of base config classes strings like CfgVehicles, CfgWeapons, etc. for searching purposes.
 
static void GetFiltredConfigClasses (string search_string, out TStringArray filtered_classes, bool only_public=true)
 Returns config classes containing search_string in name.
 
string LogMessage (string level, string plugin, string entity, string author, string label, string message)
 DEPRECATED.
 
void SaveLog (string log_message)
 
static void ClearLogs ()
 
static string GetFileName ()
 
string GetDate ()
 

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< Shapem_DebugShapes
 
static Widget m_DebugLayoutCanvas
 
static CanvasWidget m_CanvasDebug
 
bool m_EnabledLogs
 

Detailed Description

Definition at line 13 of file Debug.c.

Member Function Documentation

◆ ActionLog()

static void Debug::ActionLog ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 143 of file Debug.c.

144 {
146
147#ifdef LOG_TO_RPT
148 if (res.Length() > 0)
149 PrintToRPT("" + res);
150#endif
151 }
const string LOG_DEBUG_ACTION
Definition Debug.c:16
string LogMessage(string level, string plugin, string entity, string author, string label, string message)
DEPRECATED.
Definition Debug.c:584
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...

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().

◆ BaseBuildingLog()

static void Debug::BaseBuildingLog ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 203 of file Debug.c.

204 {
206
207#ifdef LOG_TO_RPT
208 if (res.Length() > 0)
209 PrintToRPT("" + res);
210#endif
211 }
const string LOG_DEBUG_BASEBUILDING
Definition Debug.c:22

References LOG_DEBUG_BASEBUILDING, LogMessage(), and PrintToRPT().

◆ BleedingChancesLog()

static void Debug::BleedingChancesLog ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 213 of file Debug.c.

214 {
216
217#ifdef LOG_TO_RPT
218 if (res.Length() > 0)
219 PrintToRPT("" + res);
220#endif
221 }
const string LOG_DEBUG_BLEEDING_CHANCES
Definition Debug.c:23

References LOG_DEBUG_BLEEDING_CHANCES, LogMessage(), and PrintToRPT().

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

◆ CanvasDrawLine()

static void Debug::CanvasDrawLine ( float x1,
float y1,
float x2,
float y2,
float width,
int color )
inlinestaticprivate

Definition at line 69 of file Debug.c.

70 {
71 InitCanvas();
72 m_CanvasDebug.DrawLine(x1, y1, x2, y2, width, color);
73 }
static void InitCanvas()
Definition Debug.c:54
static CanvasWidget m_CanvasDebug
Definition Debug.c:39

References InitCanvas(), and m_CanvasDebug.

Referenced by CanvasDrawPoint().

◆ CanvasDrawPoint()

static void Debug::CanvasDrawPoint ( float x1,
float y1,
int color )
inlinestaticprivate

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.

87 {
88 CanvasDrawLine(x1, y1, x1 + 1, y1, 1, color);
89 }
static void CanvasDrawLine(float x1, float y1, float x2, float y2, float width, int color)
Definition Debug.c:69

References CanvasDrawLine().

◆ ClearCanvas()

static void Debug::ClearCanvas ( )
inlinestaticprivate

Definition at line 63 of file Debug.c.

64 {
65 if (m_CanvasDebug)
66 m_CanvasDebug.Clear();
67 }

References m_CanvasDebug.

◆ ClearLogs()

static void Debug::ClearLogs ( )
inlinestaticprivate

Definition at line 638 of file Debug.c.

639 {
640 if (FileExist(GetFileName()))
641 {
643 if (fileHandle == 0)
644 return;
645
646 FPrintln(fileHandle, "");
648 }
649 }
static string GetFileName()
Definition Debug.c:651
FileMode
Definition EnSystem.c:383
proto void CloseFile(FileHandle file)
Close the File.
proto FileHandle OpenFile(string name, FileMode mode)
Opens File.
proto bool FileExist(string name)
Check existence of file.
proto void FPrintln(FileHandle file, void var)
Write to file and add new line.

References CloseFile(), FileExist(), FPrintln(), GetFileName(), and OpenFile().

Referenced by ScriptConsoleEnfScriptTab::Clear(), ScriptConsoleOutputTab::Clear(), and ClearScriptLogs().

◆ ClearScriptLogs()

static void Debug::ClearScriptLogs ( )
inlinestaticprivate

Definition at line 396 of file Debug.c.

397 {
398 ClearLogs();
399 }
static void ClearLogs()
Definition Debug.c:638

References ClearLogs().

◆ DestroyAllShapes()

static void Debug::DestroyAllShapes ( )
inlinestaticprivate

Definition at line 96 of file Debug.c.

97 {
98 for (int i = 0; i < m_DebugShapes.Count(); ++i)
99 {
100 if (m_DebugShapes.Get(i))
101 m_DebugShapes.Get(i).Destroy();
102 }
103
104 m_DebugShapes.Clear();
105 }
ref array< Shape > m_DebugShapes
Definition Debug.c:36

References m_DebugShapes.

◆ DrawArrow()

static Shape Debug::DrawArrow ( vector from,
vector to,
float size = 0.5,
int color = 0xFFFFFFFF,
int flags = 0 )
inlinestaticprivate

Definition at line 511 of file Debug.c.

512 {
513 Shape shape = Shape.CreateArrow(from, to, size, color, flags);
514 m_DebugShapes.Insert(shape);
515 return shape;
516 }
class DiagMenu Shape
don't call destructor directly. Use Destroy() instead

References m_DebugShapes, and Shape.

Referenced by Component::DebugDirectionDraw(), PluginBase::DrawDebugs(), DrawDebugShape(), SceneObject::EditorLineAdd(), and UIScriptedMenu::Update().

◆ DrawBox()

static Shape Debug::DrawBox ( vector pos1,
vector pos2,
int color = 0x1fff7f7f )
inlinestaticprivate

Definition at line 401 of file Debug.c.

402 {
403 return DrawBoxEx(pos1, pos2, color, ShapeFlags.TRANSP | ShapeFlags.NOZWRITE);
404 }
static Shape DrawBoxEx(vector pos1, vector pos2, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOZWRITE)
Definition Debug.c:406
ShapeFlags
Definition EnDebug.c:126

References DrawBoxEx().

Referenced by Component::DebugBBoxDraw(), Transport::DebugFreeAreaAtDoor(), EntityAI::DebugFreeAreaAtDoor(), DrawDebugCollisionBox(), and SceneObject::EditorShapeAdd().

◆ DrawBoxEx()

static Shape Debug::DrawBoxEx ( vector pos1,
vector pos2,
int color = 0x1fff7f7f,
ShapeFlags flags = ShapeFlags.TRANSP | ShapeFlags.NOZWRITE )
inlinestaticprivate

Definition at line 406 of file Debug.c.

407 {
408 Shape shape = Shape.Create(ShapeType.BBOX, color, flags, pos1, pos2);
409 if ((flags & ShapeFlags.ONCE) == 0)
410 m_DebugShapes.Insert(shape);
411 return shape;
412 }
ShapeType
Definition EnDebug.c:116

References m_DebugShapes, and Shape.

Referenced by DrawBox().

◆ DrawCone()

static array< Shape > Debug::DrawCone ( vector pos,
float lenght,
float halfAngle,
float offsetAngle,
int color = 0xFFFFFFFF,
int flags = 0 )
inlinestaticprivate

Definition at line 458 of file Debug.c.

459 {
461
464
465 // Left side
466 shapes.Insert(Debug.DrawLine(pos, endL, color, flags));
467 // Rigth side
468 shapes.Insert(Debug.DrawLine(pos, endR, color, flags));
469 // Top side
470 shapes.Insert(Debug.DrawLine(endL, endR, color, flags));
471 // Middle (height) line
472 shapes.Insert(Debug.DrawLine(pos, pos + Vector(Math.Cos(offsetAngle), 0, Math.Sin(offsetAngle)).Normalized() * lenght, color, flags));
473
474 return shapes;
475 }
Definition Debug.c:14
static Shape DrawLine(vector from, vector to, int color=0xFFFFFFFF, int flags=0)
Definition Debug.c:489
Definition EnMath.c:7
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static proto void ConePoints(vector origin, float length, float halfAngle, float angleOffset, out vector leftPoint, out vector rightPoint)
Calculates the points of a right 2D cone in 3D space.
static proto float Cos(float angle)
Returns cosinus of angle in radians.
static proto float Sin(float angle)
Returns sinus of angle in radians.

References Math3D::ConePoints(), Math::Cos(), DrawLine(), Math::Sin(), and Vector().

◆ DrawCube()

static Shape Debug::DrawCube ( vector pos,
float size = 1,
int color = 0x1fff7f7f )
inlinestaticprivate

Definition at line 414 of file Debug.c.

415 {
416 vector min = pos;
417 vector max = pos;
418
419 float size_h = size * 0.5;
420
421 min[0] = min[0] - size_h;
422 min[1] = min[1] - size_h;
423 min[2] = min[2] - size_h;
424
425 max[0] = max[0] + size_h;
426 max[1] = max[1] + size_h;
427 max[2] = max[2] + size_h;
428
429 Shape shape = Shape.Create(ShapeType.DIAMOND, color, ShapeFlags.TRANSP | ShapeFlags.NOZWRITE, min, max);
430 m_DebugShapes.Insert(shape);
431 return shape;
432 }

References m_DebugShapes, and Shape.

◆ DrawCylinder()

static Shape Debug::DrawCylinder ( vector pos,
float radius,
float height = 1,
int color = 0x1fff7f7f,
ShapeFlags flags = ShapeFlags.TRANSP | ShapeFlags.NOOUTLINE )
inlinestaticprivate

Definition at line 450 of file Debug.c.

451 {
452 Shape shape = Shape.CreateCylinder(color, flags, pos, radius, height);
453 if ((flags & ShapeFlags.ONCE) == 0)
454 m_DebugShapes.Insert(shape);
455 return shape;
456 }

References m_DebugShapes, and Shape.

Referenced by PluginBase::DrawDebugs().

◆ DrawFrustum()

static Shape Debug::DrawFrustum ( float horizontalAngle,
float verticalAngle,
float length,
int color = 0x1fff7f7f,
ShapeFlags flags = ShapeFlags.TRANSP | ShapeFlags.WIREFRAME )
inlinestaticprivate

Definition at line 442 of file Debug.c.

443 {
444 Shape shape = Shape.CreateFrustum(horizontalAngle, verticalAngle, length, color, flags);
445 if ((flags & ShapeFlags.ONCE) == 0)
446 m_DebugShapes.Insert(shape);
447 return shape;
448 }

References m_DebugShapes, and Shape.

◆ DrawLine()

static Shape Debug::DrawLine ( vector from,
vector to,
int color = 0xFFFFFFFF,
int flags = 0 )
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.

490 {
491 vector pts[2]
492 pts[0] = from;
493 pts[1] = to;
494
495 Shape shape = Shape.CreateLines(color, flags, pts, 2);
496 if ((flags & ShapeFlags.ONCE) == 0)
497 m_DebugShapes.Insert(shape);
498 //m_DebugShapes.Debug();
499 return shape;
500 }

References m_DebugShapes, and Shape.

Referenced by CalculateEyeAccoTarget(), DrawCone(), WeaponDebug::DrawLineOfFire(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), PluginBase::EditorUpdateRuler(), GatherSurfaces(), and GetMeleeTargetEx().

◆ DrawLines()

static Shape Debug::DrawLines ( vector[] positions,
int count,
int color = 0xFFFFFFFF,
int flags = 0 )
inlinestaticprivate

Definition at line 502 of file Debug.c.

503 {
504
505 Shape shape = Shape.CreateLines(color, flags, positions, count);
506 if ((flags & ShapeFlags.ONCE) == 0)
507 m_DebugShapes.Insert(shape);
508 return shape;
509 }

References m_DebugShapes, and Shape.

Referenced by WeaponDebug::OnPostFrameUpdate().

◆ DrawSphere()

◆ GetBaseConfigClasses()

static void Debug::GetBaseConfigClasses ( out TStringArray base_classes)
inlinestaticprivate

Returns some of base config classes strings like CfgVehicles, CfgWeapons, etc. for searching purposes.

Parameters
base_classesout TStringArray Array containing some of base config classes

Definition at line 523 of file Debug.c.

524 {
525 base_classes.Clear();
529 base_classes.Insert(CFG_AMMO);
530 base_classes.Insert(CFG_WORLDS);
536 }
const string CFG_SOUND_SETS
Definition constants.c:217
const string CFG_AMMO
Definition constants.c:212
const string CFG_VEHICLESPATH
Definition constants.c:209
const string CFG_NONAI_VEHICLES
Definition constants.c:218
const string CFG_SOUND_SHADERS
Definition constants.c:216
const string CFG_SOUND_TABLES
Definition constants.c:219
const string CFG_SURFACES
Definition constants.c:214
const string CFG_WEAPONSPATH
Definition constants.c:210
const string CFG_WORLDS
Definition constants.c:213
const string CFG_MAGAZINESPATH
Definition constants.c:211

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().

◆ GetDate()

string Debug::GetDate ( )
inlinestaticprivate

Definition at line 656 of file Debug.c.

657 {
658 int year;
659 int month;
660 int day;
661 int hour;
662 int minute;
663 int second;
664
667
668 string date = month.ToStringLen(2) + "-" + day.ToStringLen(2) + " " + hour.ToStringLen(2) + ":" + minute.ToStringLen(2) + ":" + second.ToStringLen(2);
669
670 return date;
671 }
proto void GetYearMonthDay(out int year, out int month, out int day)
Returns world date.
proto void GetHourMinuteSecond(out int hour, out int minute, out int second)
Returns world time.

References GetHourMinuteSecond(), and GetYearMonthDay().

Referenced by LogMessage().

◆ GetDebugName()

static string Debug::GetDebugName ( Managed entity)
inlinestaticprivate

Definition at line 42 of file Debug.c.

43 {
44 if (!entity)
45 return "";
46
47 Object obj;
48 if (CastTo(obj, entity))
49 return obj.GetDebugNameNative();
50
51 return entity.GetDebugName();
52 }

◆ GetFileName()

static string Debug::GetFileName ( )
inlinestaticprivate

Definition at line 651 of file Debug.c.

652 {
654 }
const string CFG_FILE_SCRIPT_LOG_EXT
Definition constants.c:237

References CFG_FILE_SCRIPT_LOG_EXT.

Referenced by ClearLogs(), ScriptConsoleOutputTab::ReloadOutput(), and SaveLog().

◆ GetFiltredConfigClasses()

static void Debug::GetFiltredConfigClasses ( string search_string,
out TStringArray filtered_classes,
bool only_public = true )
inlinestaticprivate

Returns config classes containing search_string in name.

Parameters
search_stringstring String to search in class names
filtered_classesout TStringArray Array containing filtered classes based on search_string
only_publicbool Set to true to return only public classes, set to false to return all filtered classes

Definition at line 544 of file Debug.c.

545 {
548
549 filtered_classes.Clear();
550
551 search_string.ToLower();
552
553 for (int s = 0; s < searching_in.Count(); ++s)
554 {
555 string config_path = searching_in.Get(s);
556
557 int objects_count = GetGame().ConfigGetChildrenCount(config_path);
558 for (int i = 0; i < objects_count; i++)
559 {
560 string childName;
561 GetGame().ConfigGetChildName(config_path, i, childName);
562
563 if (only_public)
564 {
565 int scope = GetGame().ConfigGetInt(config_path + " " + childName + " scope");
566 if (scope == 0)
567 continue;
568 }
569
570 string nchName = childName;
571 nchName.ToLower();
572
573 if (nchName.Contains(search_string) != -1)
575 }
576 }
577 }
static void GetBaseConfigClasses(out TStringArray base_classes)
Returns some of base config classes strings like CfgVehicles, CfgWeapons, etc. for searching purposes...
Definition Debug.c:523
proto native CGame GetGame()
array< string > TStringArray
Definition EnScript.c:666

References GetBaseConfigClasses(), and GetGame().

◆ Init()

static void Debug::Init ( )
inlinestaticprivate

Definition at line 91 of file Debug.c.

92 {
94 }

References m_DebugShapes.

Referenced by CGame::DayZGame().

◆ InitCanvas()

static void Debug::InitCanvas ( )
inlinestaticprivate

Definition at line 54 of file Debug.c.

55 {
57 {
58 m_DebugLayoutCanvas = GetGame().GetWorkspace().CreateWidgets("gui/layouts/debug/day_z_debugcanvas.layout");
59 m_CanvasDebug = CanvasWidget.Cast(m_DebugLayoutCanvas.FindAnyWidget("CanvasWidget"));
60 }
61 }
static Widget m_DebugLayoutCanvas
Definition Debug.c:38

References GetGame(), m_CanvasDebug, and m_DebugLayoutCanvas.

Referenced by CanvasDrawLine().

◆ InventoryHFSMLog()

◆ InventoryMoveLog()

◆ InventoryReservationLog()

static void Debug::InventoryReservationLog ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 173 of file Debug.c.

174 {
176
177#ifdef LOG_TO_RPT
178 if (res.Length() > 0)
179 PrintToRPT("" + res);
180#endif
181 }
const string LOG_DEBUG_INV_RESERVATION
Definition Debug.c:19

References LOG_DEBUG_INV_RESERVATION, LogMessage(), and PrintToRPT().

Referenced by CGame::AddInventoryJunctureEx(), CGame::ClearJunctureEx(), and TryAcquireTwoInventoryJuncturesFromServer().

◆ Log()

static void Debug::Log ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Prints debug message with normal prio.

Parameters
msgstring Debug message for print
Returns
void None
Debug.Log("Hello World");
>> [Log]: Hello World;
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Definition Debug.c:133
Definition World.c:2

Definition at line 133 of file Debug.c.

134 {
136
137#ifdef LOG_TO_RPT
138 if (res.Length() > 0)
139 PrintToRPT("" + res);
140#endif
141 }
const string LOG_DEBUG
Definition Debug.c:15

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().

◆ LogArrayInt()

static void Debug::LogArrayInt ( array< int > arr = NULL,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 351 of file Debug.c.

352 {
353 if (arr == null)
354 return;
355
356 string res;
357
358 for (int i = 0; i < arr.Count(); i++)
359 res += LogMessage(LOG_DEBUG, plugin, entity, author, label, arr.Get(i).ToString());
360
361#ifdef LOG_TO_RPT
362 if (res.Length() > 0)
363 PrintToRPT("" + res);
364#endif
365 }

References LOG_DEBUG, LogMessage(), and PrintToRPT().

◆ LogArrayString()

static void Debug::LogArrayString ( array< string > arr = NULL,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 367 of file Debug.c.

368 {
369 if (arr == null)
370 return;
371
372 string res;
373
374 for (int i = 0; i < arr.Count(); i++)
376
377#ifdef LOG_TO_RPT
378 if (res.Length() > 0)
379 PrintToRPT("" + res);
380#endif
381 }

References LOG_DEBUG, LogMessage(), and PrintToRPT().

Referenced by PrintOut().

◆ LogError()

static void Debug::LogError ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Prints debug message as error message.

Parameters
msgstring Debug message for error print
Returns
void None
Debug.LogError("Hello World, this is error log");
>> [Error]: Hello World, this is error log
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
Definition Debug.c:341
void Error(string err)
Messagebox with error message.
Definition EnDebug.c:90

Definition at line 341 of file Debug.c.

342 {
344
345#ifdef LOG_TO_RPT
346 if (res.Length() > 0)
347 PrintToRPT("" + res);
348#endif
349 }
const string LOG_ERROR
Definition Debug.c:33

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().

◆ LogInfo()

static void Debug::LogInfo ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Prints debug message with normal prio.

Parameters
msgstring Debug message for print
Returns
void None
Debug.Log("Hello World");
>> [Log]: Hello World;

Definition at line 301 of file Debug.c.

302 {
304
305#ifdef LOG_TO_RPT
306 if (res.Length() > 0)
307 PrintToRPT("" + res);
308#endif
309 }
const string LOG_INFO
Definition Debug.c:31

References LOG_INFO, LogMessage(), and PrintToRPT().

Referenced by LogInfo().

◆ LogMessage()

string Debug::LogMessage ( string level,
string plugin,
string entity,
string author,
string label,
string message )
inlinestaticprivate

DEPRECATED.

Definition at line 584 of file Debug.c.

585 {
586 if (GetGame() == null || !LogManager.IsLogsEnable())
587 return string.Empty;
588
589 bool is_server_log = (GetGame().IsServer() && GetGame().IsMultiplayer());
590
591
592 // Formation output to external file
593 // %date{MM-dd HH:mm:ss} | %Enviroment | %Level | %Module | %Entity | %Author | %Label | %Message
594 string date = GetDate();
595 string env = "Client";
596 string msg = string.Empty;
597
598 if (is_server_log)
599 env = "Server";
600
601 msg = string.Format("%1 | %2 | %3 | %4 | %5 | %6 | %7", date, env, level, plugin, entity, label, message);
602
603 if (is_server_log)
604 {
605 SaveLog(msg);
606#ifdef DEVELOPER //not sendig log to clients on stable
609#endif
610 }
611 else
612 SaveLog(msg);
613
614 return msg;
615 }
const CallID CALL_ID_SEND_LOG
Definition Dispatcher.c:3
Param CallMethod(CallID call_id, Param params)
Definition Dispatcher.c:36
string GetDate()
Definition Debug.c:656
void SaveLog(string log_message)
Definition Debug.c:617
static bool IsLogsEnable()
Definition Debug.c:709

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().

◆ LogWarning()

static void Debug::LogWarning ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Prints debug message as warning message.

Parameters
msgstring Debug message for warning print
Returns
void None
Debug.LogWarning("Hello World, this is warning log");
static void LogWarning(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as warning message.
Definition Debug.c:321

Definition at line 321 of file Debug.c.

322 {
324
325#ifdef LOG_TO_RPT
326 if (res.Length() > 0)
327 PrintToRPT("" + res);
328#endif
329 }
const string LOG_WARNING
Definition Debug.c:32

References LOG_WARNING, LogMessage(), and PrintToRPT().

Referenced by Entity::CanDisplayAttachmentSlot(), Component::LogThisWarning(), Entity::LogWarning(), and DeveloperTeleport::TeleportAtCursor().

◆ MeleeLog()

static void Debug::MeleeLog ( Entity entity,
string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT )
inlinestaticprivate

Definition at line 267 of file Debug.c.

268 {
269 string logMessage = string.Format("%1: %2", entity.GetSimulationTimeStamp(), message);
271
272#ifdef LOG_TO_RPT
273 if (res.Length() > 0)
274 PrintToRPT("" + res);
275#endif
276 }
const string LOG_DEBUG_MELEE
Definition Debug.c:28
override string GetDebugName()

References GetDebugName(), LOG_DEBUG_MELEE, LogMessage(), and PrintToRPT().

◆ ParticleLog()

static void Debug::ParticleLog ( string message = LOG_DEFAULT,
Managed caller = null,
string function = "",
Managed entity = null )
inlinestaticprivate

Definition at line 233 of file Debug.c.

234 {
236
237#ifdef LOG_TO_RPT
238 if (res.Length() > 0)
239 PrintToRPT("" + res);
240#endif
241 }
const string LOG_DEBUG_PARTICLE
Definition Debug.c:25

References GetDebugName(), LOG_DEBUG_PARTICLE, LogMessage(), and PrintToRPT().

Referenced by PMTF::PrintActiveStats(), PMTF::PrintPMStats(), TestInvalidSize(), and TestOwnership().

◆ QuickbarLog()

static void Debug::QuickbarLog ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 193 of file Debug.c.

194 {
196
197#ifdef LOG_TO_RPT
198 if (res.Length() > 0)
199 PrintToRPT("" + res);
200#endif
201 }
const string LOG_DEBUG_QUICKBAR
Definition Debug.c:21

References LOG_DEBUG_QUICKBAR, LogMessage(), and PrintToRPT().

◆ ReceivedLogMessageFromServer()

static void Debug::ReceivedLogMessageFromServer ( string message)
inlinestaticprivate

Definition at line 383 of file Debug.c.

384 {
386 return;
387
389
390#ifdef LOG_TO_RPT
391 if (message.Length() > 0)
392 PrintToRPT("" + message);
393#endif
394 }

References LogManager::IsLogsEnable(), PrintToRPT(), and SaveLog().

Referenced by PluginBase::OnRPCServerLogRecieved().

◆ RemoveShape()

static void Debug::RemoveShape ( out Shape shape)
inlinestaticprivate

Definition at line 107 of file Debug.c.

108 {
109 if (!shape) return;
110 for (int i = 0; i < m_DebugShapes.Count(); i++)
111 {
113
114 if (found_shape && found_shape == shape)
115 {
116 found_shape.Destroy();
117 m_DebugShapes.Remove(i); // Mandatory! Otherwise the Destroy() function causes crash!
118 shape = null;
119 return;
120 }
121 }
122 }

References m_DebugShapes, and Shape.

Referenced by PluginBase::CleanupDebugShapes(), WeaponDebug::DrawLineOfFire(), WeaponDebug::DrawLineOfFireCameraHybrid(), WeaponDebug::DrawLineOfFireMuzzleToHit(), WeaponDebug::RemoveAllShapes(), and RemoveDebugShape().

◆ SaveLog()

void Debug::SaveLog ( string log_message)
inlinestaticprivate

Definition at line 617 of file Debug.c.

618 {
619#ifndef SERVER
622#endif
623
625 if (fileHandle == 0)
626 return;
627
630
631#ifndef LOG_TO_RPT
632#ifdef DIAG_DEVELOPER
633 Print(string.Format("%1", log_message));
634#endif
635#endif
636 }
Dispatcher GetDispatcher()
Definition Dispatcher.c:20
const CallID CALL_ID_SCR_CNSL_ADD_PRINT
Definition Dispatcher.c:6
static ref Param1< string > PARAM1_STRING
Param CallMethod(CallID call_id, Param params)
Definition Dispatcher.c:15
proto void Print(void var)
Prints content of variable to console/log.

References CALL_ID_SCR_CNSL_ADD_PRINT, Dispatcher::CallMethod(), CloseFile(), FPrintln(), GetDispatcher(), GetFileName(), OpenFile(), CachedObjectsParams::PARAM1_STRING, and Print().

Referenced by LogMessage(), and ReceivedLogMessageFromServer().

◆ SymptomLog()

static void Debug::SymptomLog ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 153 of file Debug.c.

154 {
156
157#ifdef LOG_TO_RPT
158 if (res.Length() > 0)
159 PrintToRPT("" + res);
160#endif
161 }
const string LOG_DEBUG_SYMPTOM
Definition Debug.c:17

References LOG_DEBUG_SYMPTOM, LogMessage(), and PrintToRPT().

Referenced by SymptomBase::OnGetActivatedClient(), SymptomBase::OnGetActivatedServer(), SymptomBase::OnGetDeactivatedClient(), and SymptomBase::OnGetDeactivatedServer().

◆ TFLog()

static void Debug::TFLog ( string message = LOG_DEFAULT,
TestFramework caller = null,
string function = "" )
inlinestaticprivate

Definition at line 243 of file Debug.c.

244 {
246
247#ifdef LOG_TO_RPT
248 if (res.Length() > 0)
249 PrintToRPT("" + res);
250#endif
251 }
const string LOG_DEBUG_TF
Definition Debug.c:26

References GetDebugName(), LOG_DEBUG_TF, LogMessage(), and PrintToRPT().

Referenced by TFModule::PrintResult(), EnProfilerTests::TestClassCountData(), EnProfilerTests::TestClassTimeData(), EnProfilerTests::TestFuncTimeData(), and EnProfilerTests::TestModule().

◆ TriggerLog()

static void Debug::TriggerLog ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 223 of file Debug.c.

224 {
226
227#ifdef LOG_TO_RPT
228 if (res.Length() > 0)
229 PrintToRPT("" + res);
230#endif
231 }
const string LOG_DEBUG_TRIGGER
Definition Debug.c:24

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().

◆ WeatherLog()

static void Debug::WeatherLog ( string message = LOG_DEFAULT,
string plugin = LOG_DEFAULT,
string author = LOG_DEFAULT,
string label = LOG_DEFAULT,
string entity = LOG_DEFAULT )
inlinestaticprivate

Definition at line 278 of file Debug.c.

279 {
281 return;
282
284
285#ifdef LOG_TO_RPT
286 if (res.Length() > 0)
287 PrintToRPT("" + res);
288#endif
289 }
const string LOG_DEBUG_WEATHER
Definition Debug.c:29
static bool IsWeatherLogEnabled()
Definition Debug.c:809

References LogManager::IsWeatherLogEnabled(), LOG_DEBUG_WEATHER, LogMessage(), and PrintToRPT().

Referenced by WorldData::WeatherOnBeforeChange().

◆ WeightLog()

static void Debug::WeightLog ( string message = LOG_DEFAULT,
Managed caller = null,
string function = "",
Managed entity = null )
inlinestaticprivate

Definition at line 253 of file Debug.c.

254 {
255 /*
256 string res = LogMessage(LOG_DEBUG_WEIGHT, GetDebugName(caller), GetDebugName(entity), "", function, message);
257
258 #ifdef LOG_TO_RPT
259 if (res.Length() > 0)
260 {
261 PrintToRPT("" + res);
262 }
263 #endif
264 */
265 }

Member Data Documentation

◆ LOG_DEBUG

const string Debug::LOG_DEBUG = "Debug"
staticprivate

Definition at line 15 of file Debug.c.

Referenced by Log(), LogArrayInt(), and LogArrayString().

◆ LOG_DEBUG_ACTION

const string Debug::LOG_DEBUG_ACTION = "Action"
staticprivate

Definition at line 16 of file Debug.c.

Referenced by ActionLog().

◆ LOG_DEBUG_BASEBUILDING

const string Debug::LOG_DEBUG_BASEBUILDING = "Base Building"
staticprivate

Definition at line 22 of file Debug.c.

Referenced by BaseBuildingLog().

◆ LOG_DEBUG_BLEEDING_CHANCES

const string Debug::LOG_DEBUG_BLEEDING_CHANCES = "Bleeding"
staticprivate

Definition at line 23 of file Debug.c.

Referenced by BleedingChancesLog().

◆ LOG_DEBUG_INV_HFSM

const string Debug::LOG_DEBUG_INV_HFSM = "HFSM"
staticprivate

Definition at line 20 of file Debug.c.

Referenced by InventoryHFSMLog().

◆ LOG_DEBUG_INV_MOVE

const string Debug::LOG_DEBUG_INV_MOVE = "Inv Move"
staticprivate

Definition at line 18 of file Debug.c.

Referenced by InventoryMoveLog().

◆ LOG_DEBUG_INV_RESERVATION

const string Debug::LOG_DEBUG_INV_RESERVATION = "Inv Rrsv"
staticprivate

Definition at line 19 of file Debug.c.

Referenced by InventoryReservationLog().

◆ LOG_DEBUG_MELEE

const string Debug::LOG_DEBUG_MELEE = "Melee"
staticprivate

Definition at line 28 of file Debug.c.

Referenced by MeleeLog().

◆ LOG_DEBUG_PARTICLE

const string Debug::LOG_DEBUG_PARTICLE = "Particle"
staticprivate

Definition at line 25 of file Debug.c.

Referenced by ParticleLog().

◆ LOG_DEBUG_QUICKBAR

const string Debug::LOG_DEBUG_QUICKBAR = "Quickbar"
staticprivate

Definition at line 21 of file Debug.c.

Referenced by QuickbarLog().

◆ LOG_DEBUG_SYMPTOM

const string Debug::LOG_DEBUG_SYMPTOM = "Symptom"
staticprivate

Definition at line 17 of file Debug.c.

Referenced by SymptomLog().

◆ LOG_DEBUG_TF

const string Debug::LOG_DEBUG_TF = "TestFramework"
staticprivate

Definition at line 26 of file Debug.c.

Referenced by TFLog().

◆ LOG_DEBUG_TRIGGER

const string Debug::LOG_DEBUG_TRIGGER = "Trigger"
staticprivate

Definition at line 24 of file Debug.c.

Referenced by TriggerLog().

◆ LOG_DEBUG_WEATHER

const string Debug::LOG_DEBUG_WEATHER = "Weather"
staticprivate

Definition at line 29 of file Debug.c.

Referenced by WeatherLog().

◆ LOG_DEBUG_WEIGHT

const string Debug::LOG_DEBUG_WEIGHT = "Weight"
staticprivate

Definition at line 27 of file Debug.c.

◆ LOG_DEFAULT

const string Debug::LOG_DEFAULT = "n/a"
staticprivate

Definition at line 34 of file Debug.c.

◆ LOG_ERROR

const string Debug::LOG_ERROR = "Error"
staticprivate

Definition at line 33 of file Debug.c.

Referenced by LogError().

◆ LOG_INFO

const string Debug::LOG_INFO = "Info"
staticprivate

Definition at line 31 of file Debug.c.

Referenced by LogInfo().

◆ LOG_WARNING

const string Debug::LOG_WARNING = "Warning"
staticprivate

Definition at line 32 of file Debug.c.

Referenced by LogWarning().

◆ m_CanvasDebug

CanvasWidget Debug::m_CanvasDebug
staticprivate

Definition at line 39 of file Debug.c.

Referenced by CanvasDrawLine(), ClearCanvas(), and InitCanvas().

◆ m_DebugLayoutCanvas

Widget Debug::m_DebugLayoutCanvas
staticprivate

Definition at line 38 of file Debug.c.

Referenced by InitCanvas().

◆ m_DebugShapes

ref array<Shape> Debug::m_DebugShapes
staticprivate

◆ m_EnabledLogs

bool Debug::m_EnabledLogs
staticprivate

Definition at line 582 of file Debug.c.


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