M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.HTMLDebugManager Class Reference

Inherits TaleWorlds.Library.IDebugManager.

Public Member Functions

 HTMLDebugManager (int numFiles=1, int totalFileSize=-1)
 
- Public Member Functions inherited from TaleWorlds.Library.IDebugManager
void ShowWarning (string message)
 
void Assert (bool condition, string message, [CallerFilePath] string callerFile="", [CallerMemberName] string callerMethod="", [CallerLineNumber] int callerLine=0)
 
void SilentAssert (bool condition, string message="", bool getDump=false, [CallerFilePath] string callerFile="", [CallerMemberName] string callerMethod="", [CallerLineNumber] int callerLine=0)
 
void Print (string message, int logLevel=0, TaleWorlds.Library.Debug.DebugColor color=TaleWorlds.Library.Debug.DebugColor.White, UInt64 debugFilter=(UInt64) Debug.DebugSystemFilter.Mono)
 
void PrintError (string error, string stackTrace, UInt64 debugFilter=(UInt64) Debug.DebugSystemFilter.Mono)
 
void PrintWarning (string warning, UInt64 debugFilter=(UInt64) Debug.DebugSystemFilter.Mono)
 
void ShowError (string message)
 
void ShowMessageBox (string lpText, string lpCaption, uint uType)
 
void DisplayDebugMessage (string message)
 
void WatchVariable (string name, object value)
 
void WriteDebugLineOnScreen (string message)
 
void RenderDebugLine (Vec3 position, Vec3 direction, uint color=0xFFFFFFFF, bool depthCheck=false, float time=0.0f)
 
void RenderDebugSphere (Vec3 position, float radius, uint color=0xFFFFFFFF, bool depthCheck=false, float time=0.0f)
 
void RenderDebugText3D (Vec3 position, string text, uint color=0xFFFFFFFF, int screenPosOffsetX=0, int screenPosOffsetY=0, float time=0.0f)
 
void RenderDebugFrame (MatrixFrame frame, float lineLength, float time=0.0f)
 
void RenderDebugText (float screenX, float screenY, string text, uint color=0xFFFFFFFF, float time=0.0f)
 
void RenderDebugRectWithColor (float left, float bottom, float right, float top, uint color=0xFFFFFFFF)
 
Vec3 GetDebugVector ()
 
void SetCrashReportCustomString (string customString)
 
void SetCrashReportCustomStack (string customStack)
 
void SetTestModeEnabled (bool testModeEnabled)
 
void AbortGame ()
 
void DoDelayedexit (int returnCode)
 
void ReportMemoryBookmark (string message)
 

Protected Member Functions

void PrintMessage (string message, HTMLDebugCategory debugCategory, bool printOnGlobal)
 
virtual void Assert (bool condition, string message, string callerFile, string callerMethod, int callerLine)
 
virtual void SilentAssert (bool condition, string message, bool getDump, string callerFile, string callerMethod, int callerLine)
 

Properties

static bool LogOnlyErrors [get, set]
 

Constructor & Destructor Documentation

◆ HTMLDebugManager()

TaleWorlds.Library.HTMLDebugManager.HTMLDebugManager ( int  numFiles = 1,
int  totalFileSize = -1 
)

Member Function Documentation

◆ PrintMessage()

void TaleWorlds.Library.HTMLDebugManager.PrintMessage ( string  message,
HTMLDebugCategory  debugCategory,
bool  printOnGlobal 
)
protected

◆ Assert()

virtual void TaleWorlds.Library.HTMLDebugManager.Assert ( bool  condition,
string  message,
string  callerFile,
string  callerMethod,
int  callerLine 
)
protectedvirtual

◆ SilentAssert()

virtual void TaleWorlds.Library.HTMLDebugManager.SilentAssert ( bool  condition,
string  message,
bool  getDump,
string  callerFile,
string  callerMethod,
int  callerLine 
)
protectedvirtual

Property Documentation

◆ LogOnlyErrors

bool TaleWorlds.Library.HTMLDebugManager.LogOnlyErrors
staticgetset