Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
LogTemplates Class Reference

Static Private Member Functions

static LogTemplate GetTemplate (LogTemplateID template_id)
static void Init ()
void RegisterLogTamplate (LogTemplateID template_id, string author, string plugin, string label)

Static Private Attributes

ref map< LogTemplateID, ref LogTemplatem_LogTemplates
static LogTemplateID TEMPLATE_BROADCAST = 3
static LogTemplateID TEMPLATE_JANOSIK = 1
static LogTemplateID TEMPLATE_PLAYER_WEIGHT = 2
static LogTemplateID TEMPLATE_UNKNOWN = 0

Detailed Description

Definition at line 7 of file logtemplates.c.

Member Function Documentation

◆ GetTemplate()

LogTemplate GetTemplate ( LogTemplateID template_id)
inlinestaticprivate

Definition at line 52 of file logtemplates.c.

References Debug::Log(), m_LogTemplates, and ToString().

Referenced by LogError(), LogInfo(), and LogWarning().

◆ Init()

void Init ( )
inlinestaticprivate

◆ RegisterLogTamplate()

void RegisterLogTamplate ( LogTemplateID template_id,
string author,
string plugin,
string label )
inlinestaticprivate

Definition at line 11 of file logtemplates.c.

References Debug::Log(), m_LogTemplates, and ToString().

Referenced by Init().

Field Documentation

◆ m_LogTemplates

ref map<LogTemplateID, ref LogTemplate> m_LogTemplates
staticprivate

Definition at line 9 of file logtemplates.c.

Referenced by GetTemplate(), and RegisterLogTamplate().

◆ TEMPLATE_BROADCAST

LogTemplateID TEMPLATE_BROADCAST = 3
staticprivate

Definition at line 38 of file logtemplates.c.

Referenced by Init().

◆ TEMPLATE_JANOSIK

LogTemplateID TEMPLATE_JANOSIK = 1
staticprivate

Definition at line 36 of file logtemplates.c.

Referenced by Init().

◆ TEMPLATE_PLAYER_WEIGHT

LogTemplateID TEMPLATE_PLAYER_WEIGHT = 2
staticprivate

Definition at line 37 of file logtemplates.c.

Referenced by Init().

◆ TEMPLATE_UNKNOWN

LogTemplateID TEMPLATE_UNKNOWN = 0
staticprivate

Definition at line 35 of file logtemplates.c.

Referenced by Init().


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