Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
pluginbase.c
Go to the documentation of this file.
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
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
Definition debug.c:2
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.
Definition debug.c:182
void Log(string msg, string label)
Definition pluginbase.c:10
void OnInit()
void PluginBase()
void ~PluginBase()
void OnDestroy()
string GetModuleName()
Definition pluginbase.c:15
void OnUpdate(float delta_time)
proto native ToType()
Returns internal type representation.