Table of Contents

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

condition bool
message string
callerFile string
callerMethod string
callerLine int

DisplayDebugMessage(string)

void DisplayDebugMessage(string message)

Parameters

message string

DoDelayedexit(int)

void DoDelayedexit(int returnCode)

Parameters

returnCode int

GetDebugVector()

Vec3 GetDebugVector()

Returns

Vec3

Print(string, int, DebugColor, ulong)

void Print(string message, int logLevel = 0, Debug.DebugColor color = DebugColor.White, ulong debugFilter = 17592186044416)

Parameters

message string
logLevel int
color Debug.DebugColor
debugFilter ulong

PrintError(string, string, ulong)

void PrintError(string error, string stackTrace, ulong debugFilter = 17592186044416)

Parameters

error string
stackTrace string
debugFilter ulong

PrintWarning(string, ulong)

void PrintWarning(string warning, ulong debugFilter = 17592186044416)

Parameters

warning string
debugFilter ulong

RenderDebugFrame(MatrixFrame, float, float)

void RenderDebugFrame(MatrixFrame frame, float lineLength, float time = 0)

Parameters

frame MatrixFrame
lineLength float
time float

RenderDebugLine(Vec3, Vec3, uint, bool, float)

void RenderDebugLine(Vec3 position, Vec3 direction, uint color = 4294967295, bool depthCheck = false, float time = 0)

Parameters

position Vec3
direction Vec3
color uint
depthCheck bool
time float

RenderDebugRectWithColor(float, float, float, float, uint)

void RenderDebugRectWithColor(float left, float bottom, float right, float top, uint color = 4294967295)

Parameters

left float
bottom float
right float
top float
color uint

RenderDebugSphere(Vec3, float, uint, bool, float)

void RenderDebugSphere(Vec3 position, float radius, uint color = 4294967295, bool depthCheck = false, float time = 0)

Parameters

position Vec3
radius float
color uint
depthCheck bool
time float

RenderDebugText(float, float, string, uint, float)

void RenderDebugText(float screenX, float screenY, string text, uint color = 4294967295, float time = 0)

Parameters

screenX float
screenY float
text string
color uint
time float

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

position Vec3
text string
color uint
screenPosOffsetX int
screenPosOffsetY int
time float

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

lpText string
lpCaption string
uType uint

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

condition bool
message string
getDump bool
callerFile string
callerMethod string
callerLine int

WatchVariable(string, object)

void WatchVariable(string name, object value)

Parameters

name string
value object

WriteDebugLineOnScreen(string)

void WriteDebugLineOnScreen(string message)

Parameters

message string

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).