-
Notifications
You must be signed in to change notification settings - Fork 2
/
CUnit.h
180 lines (178 loc) · 3.83 KB
/
CUnit.h
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
#include "CSelectable.h"
#include "Vector3.h"
class CUnit : CSelectable {
public:
_DWORD field_54;
_DWORD field_58;
_DWORD field_5C;
_DWORD field_60;
_DWORD field_64;
_DWORD field_68;
_DWORD field_6C;
_DWORD field_70;
_DWORD field_74;
_DWORD field_78;
_DWORD field_7C;
_DWORD field_80;
_DWORD field_84;
_DWORD field_88;
_DWORD field_8C;
_DWORD field_90;
_DWORD field_94;
_DWORD field_98;
_DWORD field_9C;
int field_A0;
int field_A4;
_DWORD field_A8;
_DWORD field_AC;
_DWORD field_B0;
_DWORD field_B4;
_DWORD field_B8;
_DWORD field_BC;
int field_C0;
int field_C4;
_DWORD field_C8;
_DWORD field_CC;
_DWORD field_D0;
_DWORD field_D4;
_DWORD field_D8;
_DWORD field_DC;
float defense;
_DWORD field_E4;
_DWORD field_E8;
_DWORD field_EC;
_DWORD field_F0;
_DWORD field_F4;
_DWORD field_F8;
_DWORD field_FC;
_DWORD field_100;
int field_104;
int field_108;
_DWORD field_10C;
_DWORD field_110;
_DWORD field_114;
_DWORD field_118;
_DWORD field_11C;
int field_120;
int field_124;
_DWORD field_128;
_DWORD field_12C;
_DWORD field_130;
_DWORD field_134;
_DWORD field_138;
_DWORD field_13C;
_DWORD field_140;
_DWORD field_144;
_DWORD field_148;
_DWORD field_14C;
_DWORD field_150;
_DWORD field_154;
_DWORD field_158;
_DWORD field_15C;
_DWORD field_160;
_DWORD field_164;
_DWORD field_168;
int field_16C;
int field_170;
_DWORD field_174;
_DWORD field_178;
_DWORD field_17C;
_DWORD field_180;
_DWORD field_184;
_DWORD field_188;
_DWORD field_18C;
_DWORD field_190;
_DWORD field_194;
_DWORD field_198;
_DWORD field_19C;
_DWORD field_1A0;
_DWORD field_1A4;
_DWORD field_1A8;
_DWORD field_1AC;
_DWORD field_1B0;
_DWORD field_1B4;
_DWORD field_1B8;
_DWORD field_1BC;
_DWORD field_1C0;
_DWORD field_1C4;
_DWORD field_1C8;
_DWORD field_1CC;
_DWORD field_1D0;
_DWORD field_1D4;
_DWORD field_1D8;
int field_1DC; // Used to fetch additional abilities.
int field_1E0; // Used to fetch additional abilities.
_DWORD field_1E4;
void* attackAbility;
void* moveAbility;
void* heroAbility;
void* buildAbility;
void* inventoryAbility;
_DWORD field_1FC;
_DWORD field_200;
_DWORD field_204;
_DWORD field_208;
_DWORD field_20C;
_DWORD field_210;
_DWORD field_214;
_DWORD field_218;
int field_21C;
int field_220;
_DWORD field_224;
_DWORD field_228;
_DWORD field_22C;
_DWORD field_230;
_DWORD field_234;
_DWORD field_238;
_DWORD field_23C;
_DWORD field_240;
_DWORD field_244;
_DWORD field_248;
_DWORD field_24C;
_DWORD field_250;
_DWORD field_254;
_DWORD field_258;
_DWORD field_25C;
_DWORD field_260;
_DWORD field_264;
_DWORD field_268;
_DWORD field_26C;
_DWORD field_270;
_DWORD field_274;
_DWORD field_278;
int userData;
_DWORD field_280;
Vector3 position; // 12 bytes, [284, 288, 28C]
_DWORD field_290;
_DWORD field_294;
_DWORD field_298;
_DWORD field_29C;
_DWORD field_2A0;
_DWORD field_2A4;
_DWORD field_2A8;
_DWORD field_2AC;
_DWORD field_2B0;
_DWORD field_2B4;
_DWORD field_2B8;
_DWORD field_2BC;
_DWORD field_2C0;
_DWORD field_2C4;
_DWORD field_2C8;
_DWORD field_2CC;
_DWORD field_2D0;
_DWORD field_2D4;
_DWORD field_2D8;
_DWORD field_2DC;
_DWORD field_2E0;
_DWORD field_2E4;
_DWORD field_2E8;
_DWORD field_2EC;
_DWORD field_2F0;
_DWORD field_2F4;
_DWORD field_2F8;
_DWORD field_2FC;
_DWORD field_300;
_DWORD field_304;
_DWORD field_308;
_DWORD field_30C;
};