Dayz Explorer 1.28.160049
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
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
Definition debug.c:2
Plugin interface for controlling of agent pool system.
Definition pluginbase.c:2