1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
#ifndef MOB_T_HPP
#define MOB_T_HPP
#include <cstdint>
enum class MST
{
MST_TARGET = 0,
#define MST_TARGET MST::MST_TARGET
MST_SELF,
#define MST_SELF MST::MST_SELF
MST_FRIEND,
#define MST_FRIEND MST::MST_FRIEND
MST_MASTER,
#define MST_MASTER MST::MST_MASTER
MST_AROUND5,
#define MST_AROUND5 MST::MST_AROUND5
MST_AROUND6,
#define MST_AROUND6 MST::MST_AROUND6
MST_AROUND7,
#define MST_AROUND7 MST::MST_AROUND7
MST_AROUND8,
#define MST_AROUND8 MST::MST_AROUND8
MST_AROUND1,
#define MST_AROUND1 MST::MST_AROUND1
MST_AROUND2,
#define MST_AROUND2 MST::MST_AROUND2
MST_AROUND3,
#define MST_AROUND3 MST::MST_AROUND3
MST_AROUND4,
#define MST_AROUND4 MST::MST_AROUND4
MST_AROUND = MST_AROUND4,
#define MST_AROUND MST::MST_AROUND
};
enum class MSC : uint16_t
{
// used as something that never compares true
NEVER_EQUAL = 0xfffe,
ANY = 0xffff,
MSC_ALWAYS = 0x0000,
#define MSC_ALWAYS MSC::MSC_ALWAYS
MSC_MYHPLTMAXRATE = 0x0001,
#define MSC_MYHPLTMAXRATE MSC::MSC_MYHPLTMAXRATE
MSC_FRIENDHPLTMAXRATE = 0x0010,
#define MSC_FRIENDHPLTMAXRATE MSC::MSC_FRIENDHPLTMAXRATE
MSC_MYSTATUSON = 0x0020,
#define MSC_MYSTATUSON MSC::MSC_MYSTATUSON
MSC_MYSTATUSOFF = 0x0021,
#define MSC_MYSTATUSOFF MSC::MSC_MYSTATUSOFF
MSC_FRIENDSTATUSON = 0x0030,
#define MSC_FRIENDSTATUSON MSC::MSC_FRIENDSTATUSON
MSC_FRIENDSTATUSOFF = 0x0031,
#define MSC_FRIENDSTATUSOFF MSC::MSC_FRIENDSTATUSOFF
MSC_NOTINTOWN = 0x0032,
#define MSC_NOTINTOWN MSC::MSC_NOTINTOWN
MSC_ATTACKPCGT = 0x0100,
#define MSC_ATTACKPCGT MSC::MSC_ATTACKPCGT
MSC_ATTACKPCGE = 0x0101,
#define MSC_ATTACKPCGE MSC::MSC_ATTACKPCGE
MSC_SLAVELT = 0x0110,
#define MSC_SLAVELT MSC::MSC_SLAVELT
MSC_SLAVELE = 0x0111,
#define MSC_SLAVELE MSC::MSC_SLAVELE
MSC_CLOSEDATTACKED = 0x1000,
#define MSC_CLOSEDATTACKED MSC::MSC_CLOSEDATTACKED
MSC_LONGRANGEATTACKED = 0x1001,
#define MSC_LONGRANGEATTACKED MSC::MSC_LONGRANGEATTACKED
MSC_SKILLUSED = 0x1010,
#define MSC_SKILLUSED MSC::MSC_SKILLUSED
MSC_CASTTARGETED = 0x1011,
#define MSC_CASTTARGETED MSC::MSC_CASTTARGETED
};
enum class MSS : uint8_t
{
ANY = 0xff,
MSS_IDLE = 0,
#define MSS_IDLE MSS::MSS_IDLE
MSS_WALK,
#define MSS_WALK MSS::MSS_WALK
MSS_ATTACK,
#define MSS_ATTACK MSS::MSS_ATTACK
MSS_DEAD,
#define MSS_DEAD MSS::MSS_DEAD
MSS_LOOT,
#define MSS_LOOT MSS::MSS_LOOT
MSS_CHASE,
#define MSS_CHASE MSS::MSS_CHASE
};
#endif // MOB_T_HPP
|