DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
PluginBase.c
См. документацию.
1
class
PluginBase
2
{
3
void
PluginBase
();
4
void
~PluginBase
();
5
6
void
OnInit
();
7
void
OnUpdate
(
float
delta_time);
8
void
OnDestroy
();
9
10
void
Log
(
string
msg,
string
label)
11
{
12
Debug
.
Log
(msg,
GetModuleName
(),
"n/a"
, label,
"n/a"
);
13
}
14
15
string
GetModuleName
()
16
{
17
return
ClassName();
18
}
19
20
typename
GetModuleType
()
21
{
22
return
GetModuleName
().
ToType
();
23
}
24
}
25
26
27
28
29
30
31
32
33
34
35
Debug::Log
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.
Определения
Debug.c:122
Debug
Определения
Debug.c:2
PluginBase::PluginBase
void PluginBase()
PluginBase::~PluginBase
void ~PluginBase()
PluginBase::OnDestroy
void OnDestroy()
PluginBase::OnInit
void OnInit()
PluginBase::Log
void Log(string msg, string label)
Определения
PluginBase.c:10
PluginBase::GetModuleName
string GetModuleName()
Определения
PluginBase.c:15
PluginBase::OnUpdate
void OnUpdate(float delta_time)
PluginBase::GetModuleType
GetModuleType()
Определения
PluginBase.c:20
string::ToType
proto native ToType()
Returns internal type representation. Can be used in runtime, or cached in variables and used for fas...
Ishodniki
scripts
4_World
Plugins
PluginBase.c
Создано системой
1.13.2