Interface IDebugManager
- Namespace
- TaleWorlds.Library
- Assembly
- TaleWorlds.Library.dll
public interface IDebugManager
Methods
AbortGame()
void AbortGame()
Assert(bool, string, string, string, int)
void Assert(bool condition, string message, string callerFile = "", string callerMethod = "", int callerLine = 0)
Parameters
DisplayDebugMessage(string)
void DisplayDebugMessage(string message)
Parameters
message
string
DoDelayedexit(int)
void DoDelayedexit(int returnCode)
Parameters
returnCode
int
GetDebugVector()
Vec3 GetDebugVector()
Returns
Print(string, int, DebugColor, ulong)
void Print(string message, int logLevel = 0, Debug.DebugColor color = DebugColor.White, ulong debugFilter = 17592186044416)
Parameters
message
stringlogLevel
intcolor
Debug.DebugColordebugFilter
ulong
PrintError(string, string, ulong)
void PrintError(string error, string stackTrace, ulong debugFilter = 17592186044416)
Parameters
PrintWarning(string, ulong)
void PrintWarning(string warning, ulong debugFilter = 17592186044416)
Parameters
RenderDebugFrame(MatrixFrame, float, float)
void RenderDebugFrame(MatrixFrame frame, float lineLength, float time = 0)
Parameters
frame
MatrixFramelineLength
floattime
float
RenderDebugLine(Vec3, Vec3, uint, bool, float)
void RenderDebugLine(Vec3 position, Vec3 direction, uint color = 4294967295, bool depthCheck = false, float time = 0)
Parameters
RenderDebugRectWithColor(float, float, float, float, uint)
void RenderDebugRectWithColor(float left, float bottom, float right, float top, uint color = 4294967295)
Parameters
RenderDebugSphere(Vec3, float, uint, bool, float)
void RenderDebugSphere(Vec3 position, float radius, uint color = 4294967295, bool depthCheck = false, float time = 0)
Parameters
RenderDebugText(float, float, string, uint, float)
void RenderDebugText(float screenX, float screenY, string text, uint color = 4294967295, float time = 0)
Parameters
RenderDebugText3D(Vec3, string, uint, int, int, float)
void RenderDebugText3D(Vec3 position, string text, uint color = 4294967295, int screenPosOffsetX = 0, int screenPosOffsetY = 0, float time = 0)
Parameters
ReportMemoryBookmark(string)
void ReportMemoryBookmark(string message)
Parameters
message
string
SetCrashReportCustomStack(string)
void SetCrashReportCustomStack(string customStack)
Parameters
customStack
string
SetCrashReportCustomString(string)
void SetCrashReportCustomString(string customString)
Parameters
customString
string
SetTestModeEnabled(bool)
void SetTestModeEnabled(bool testModeEnabled)
Parameters
testModeEnabled
bool
ShowError(string)
void ShowError(string message)
Parameters
message
string
ShowMessageBox(string, string, uint)
void ShowMessageBox(string lpText, string lpCaption, uint uType)
Parameters
ShowWarning(string)
void ShowWarning(string message)
Parameters
message
string
SilentAssert(bool, string, bool, string, string, int)
void SilentAssert(bool condition, string message = "", bool getDump = false, string callerFile = "", string callerMethod = "", int callerLine = 0)
Parameters
WatchVariable(string, object)
void WatchVariable(string name, object value)
Parameters
WriteDebugLineOnScreen(string)
void WriteDebugLineOnScreen(string message)
Parameters
message
string
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).