Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
botevents.c
Go to the documentation of this file.
1
4class BotEventBase
5{
6 PlayerBase m_Player;
7 EntityAI m_Entity;
8
9 void BotEventBase (PlayerBase p = NULL, EntityAI e = NULL) { m_Entity = e; }
10 string DumpToString () {}
11};
12
13//class BotEventXXX : BotEventBase { void BotEventXXX (PlayerBase p = NULL) { } };
14
15
16class BotEventStart : BotEventBase { };
17class BotEventStop : BotEventBase { };
18
19class BotEventEndOK : BotEventBase { };
20class BotEventEndFail : BotEventBase { };
21class BotEventEndTimeout : BotEventBase { };
22class BotEventOnItemInHandsChanged : BotEventBase { };
23
24class BotEventStartDebug : BotEventBase
25{
26 int m_Id;
27
28 void BotEventStartDebug(PlayerBase p = NULL, EntityAI e = NULL, int id = 0)
29 {
30 m_Id = id;
31 }
32
33 override string DumpToString () { return "id: " + m_Id; }
34};
string DumpToString()