-
Notifications
You must be signed in to change notification settings - Fork 10
/
engine2_dll.rs
319 lines (317 loc) · 12.7 KB
/
engine2_dll.rs
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
// Fuck this update.
// 2024-12-19 11:15:27.556001200 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
// Module: engine2.dll
// Class count: 48
// Enum count: 4
pub mod engine2_dll {
// Alignment: 4
// Member count: 3
#[repr(u32)]
pub enum EntityDormancyType_t {
ENTITY_NOT_DORMANT = 0x0,
ENTITY_DORMANT = 0x1,
ENTITY_SUSPENDED = 0x2
}
// Alignment: 4
// Member count: 4
#[repr(u32)]
pub enum EntityIOTargetType_t {
ENTITY_IO_TARGET_INVALID = u32::MAX,
ENTITY_IO_TARGET_ENTITYNAME = 0x2,
ENTITY_IO_TARGET_EHANDLE = 0x6,
ENTITY_IO_TARGET_ENTITYNAME_OR_CLASSNAME = 0x7
}
// Alignment: 4
// Member count: 3
#[repr(u32)]
pub enum SpawnDebugOverrideState_t {
SPAWN_DEBUG_OVERRIDE_NONE = 0x0,
SPAWN_DEBUG_OVERRIDE_FORCE_ENABLED = 0x1,
SPAWN_DEBUG_OVERRIDE_FORCE_DISABLED = 0x2
}
// Alignment: 4
// Member count: 5
#[repr(u32)]
pub enum SpawnDebugRestrictionOverrideState_t {
SPAWN_DEBUG_RESTRICT_NONE = 0x0,
SPAWN_DEBUG_RESTRICT_IGNORE_MANAGER_DISTANCE_REQS = 0x1,
SPAWN_DEBUG_RESTRICT_IGNORE_TEMPLATE_DISTANCE_LOS_REQS = 0x2,
SPAWN_DEBUG_RESTRICT_IGNORE_TEMPLATE_COOLDOWN_LIMITS = 0x4,
SPAWN_DEBUG_RESTRICT_IGNORE_TARGET_COOLDOWN_LIMITS = 0x8
}
// Parent: EventSimulate_t
// Field count: 0
pub mod EventClientPostSimulate_t {
}
// Parent: None
// Field count: 3
pub mod EventSimpleLoopFrameUpdate_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_flRealTime: usize = 0x28; // float32
pub const m_flFrameTime: usize = 0x2C; // float32
}
// Parent: EventSimulate_t
// Field count: 4
pub mod EventPostAdvanceTick_t {
pub const m_nCurrentTick: usize = 0x30; // int32
pub const m_nCurrentTickThisFrame: usize = 0x34; // int32
pub const m_nTotalTicksThisFrame: usize = 0x38; // int32
pub const m_nTotalTicks: usize = 0x3C; // int32
}
// Parent: None
// Field count: 1
pub mod CEntityIOOutput {
pub const m_Value: usize = 0x18; // CVariantBase<CVariantDefaultAllocator>
}
// Parent: None
// Field count: 1
pub mod EventClientSceneSystemThreadStateChange_t {
pub const m_bThreadsActive: usize = 0x0; // bool
}
// Parent: None
// Field count: 5
pub mod EventClientOutput_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_flRenderTime: usize = 0x28; // float32
pub const m_flRealTime: usize = 0x2C; // float32
pub const m_flRenderFrameTimeUnbounded: usize = 0x30; // float32
pub const m_bRenderOnly: usize = 0x34; // bool
}
// Parent: EventSimulate_t
// Field count: 0
pub mod EventServerPostSimulate_t {
}
// Parent: None
// Field count: 4
pub mod CEntityComponentHelper {
pub const m_flags: usize = 0x8; // uint32
pub const m_pInfo: usize = 0x10; // EntComponentInfo_t*
pub const m_nPriority: usize = 0x18; // int32
pub const m_pNext: usize = 0x20; // CEntityComponentHelper*
}
// Parent: None
// Field count: 1
pub mod GameTime_t {
pub const m_Value: usize = 0x0; // float32
}
// Parent: None
// Field count: 0
pub mod EventServerEndAsyncPostTickWork_t {
}
// Parent: EventAdvanceTick_t
// Field count: 0
pub mod EventClientAdvanceTick_t {
}
// Parent: None
// Field count: 0
pub mod EntInput_t {
}
// Parent: None
// Field count: 1
pub mod CNetworkVarChainer {
pub const m_PathIndex: usize = 0x20; // ChangeAccessorFieldPathIndex_t
}
// Parent: EventSimulate_t
// Field count: 0
pub mod EventClientSimulate_t {
}
// Parent: None
// Field count: 5
pub mod EventClientPostOutput_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_flRenderTime: usize = 0x28; // float64
pub const m_flRenderFrameTime: usize = 0x30; // float32
pub const m_flRenderFrameTimeUnbounded: usize = 0x34; // float32
pub const m_bRenderOnly: usize = 0x38; // bool
}
// Parent: None
// Field count: 1
pub mod GameTick_t {
pub const m_Value: usize = 0x0; // int32
}
// Parent: None
// Field count: 2
pub mod EventClientPollInput_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_flRealTime: usize = 0x28; // float32
}
// Parent: None
// Field count: 1
pub mod EventPreDataUpdate_t {
pub const m_nCount: usize = 0x0; // int32
}
// Parent: None
// Field count: 3
pub mod EventClientProcessGameInput_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_flRealTime: usize = 0x28; // float32
pub const m_flFrameTime: usize = 0x2C; // float32
}
// Parent: None
// Field count: 1
pub mod EventFrameBoundary_t {
pub const m_flFrameTime: usize = 0x0; // float32
}
// Parent: None
// Field count: 1
pub mod EventAppShutdown_t {
pub const m_nDummy0: usize = 0x0; // int32
}
// Parent: EventSimulate_t
// Field count: 0
pub mod EventServerSimulate_t {
}
// Parent: EventPostAdvanceTick_t
// Field count: 0
pub mod EventServerPostAdvanceTick_t {
}
// Parent: None
// Field count: 1
pub mod EventProfileStorageAvailable_t {
pub const m_nSplitScreenSlot: usize = 0x0; // CSplitScreenSlot
}
// Parent: None
// Field count: 1
pub mod EventPostDataUpdate_t {
pub const m_nCount: usize = 0x0; // int32
}
// Parent: EventSimulate_t
// Field count: 0
pub mod EventClientPreSimulate_t {
}
// Parent: EventSimulate_t
// Field count: 0
pub mod EventClientPauseSimulate_t {
}
// Parent: None
// Field count: 1
pub mod EventClientProcessNetworking_t {
pub const m_nTickCount: usize = 0x0; // int32
}
// Parent: EventSimulate_t
// Field count: 4
pub mod EventAdvanceTick_t {
pub const m_nCurrentTick: usize = 0x30; // int32
pub const m_nCurrentTickThisFrame: usize = 0x34; // int32
pub const m_nTotalTicksThisFrame: usize = 0x38; // int32
pub const m_nTotalTicks: usize = 0x3C; // int32
}
// Parent: None
// Field count: 0
pub mod EventSplitScreenStateChanged_t {
}
// Parent: EventPostAdvanceTick_t
// Field count: 0
pub mod EventClientPostAdvanceTick_t {
}
// Parent: None
// Field count: 0
pub mod CVariantDefaultAllocator {
}
// Parent: None
// Field count: 0
pub mod EventModInitialized_t {
}
// Parent: None
// Field count: 6
pub mod EventClientPreOutput_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_flRenderTime: usize = 0x28; // float64
pub const m_flRenderFrameTime: usize = 0x30; // float64
pub const m_flRenderFrameTimeUnbounded: usize = 0x38; // float64
pub const m_flRealTime: usize = 0x40; // float32
pub const m_bRenderOnly: usize = 0x44; // bool
}
// Parent: None
// Field count: 4
pub mod EventClientFrameSimulate_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_flRealTime: usize = 0x28; // float32
pub const m_flFrameTime: usize = 0x2C; // float32
pub const m_bScheduleSendTickPacket: usize = 0x30; // bool
}
// Parent: EventAdvanceTick_t
// Field count: 0
pub mod EventServerAdvanceTick_t {
}
// Parent: None
// Field count: 8
pub mod EventSetTime_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_nClientOutputFrames: usize = 0x28; // int32
pub const m_flRealTime: usize = 0x30; // float64
pub const m_flRenderTime: usize = 0x38; // float64
pub const m_flRenderFrameTime: usize = 0x40; // float64
pub const m_flRenderFrameTimeUnbounded: usize = 0x48; // float64
pub const m_flRenderFrameTimeUnscaled: usize = 0x50; // float64
pub const m_flTickRemainder: usize = 0x58; // float64
}
// Parent: None
// Field count: 0
pub mod EntOutput_t {
}
// Parent: None
// Field count: 3
pub mod EventSimulate_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_bFirstTick: usize = 0x28; // bool
pub const m_bLastTick: usize = 0x29; // bool
}
// Parent: None
// Field count: 0
pub mod EventClientAdvanceNonRenderedFrame_t {
}
// Parent: EventSimulate_t
// Field count: 0
pub mod EventServerProcessNetworking_t {
}
// Parent: None
// Field count: 0
pub mod CEmptyEntityInstance {
}
// Parent: None
// Field count: 7
pub mod EntComponentInfo_t {
pub const m_pName: usize = 0x0; // char*
pub const m_pCPPClassname: usize = 0x8; // char*
pub const m_pNetworkDataReferencedDescription: usize = 0x10; // char*
pub const m_pNetworkDataReferencedPtrPropDescription: usize = 0x18; // char*
pub const m_nRuntimeIndex: usize = 0x20; // int32
pub const m_nFlags: usize = 0x24; // uint32
pub const m_pBaseClassComponentHelper: usize = 0x60; // CEntityComponentHelper*
}
// Parent: None
// Field count: 4
pub mod EngineLoopState_t {
pub const m_nPlatWindowWidth: usize = 0x18; // int32
pub const m_nPlatWindowHeight: usize = 0x1C; // int32
pub const m_nRenderWidth: usize = 0x20; // int32
pub const m_nRenderHeight: usize = 0x24; // int32
}
// Parent: None
// Field count: 1
pub mod EventClientPollNetworking_t {
pub const m_nTickCount: usize = 0x0; // int32
}
// Parent: EventPostAdvanceTick_t
// Field count: 0
pub mod EventServerBeginAsyncPostTickWork_t {
}
// Parent: None
// Field count: 4
pub mod EventClientProcessInput_t {
pub const m_LoopState: usize = 0x0; // EngineLoopState_t
pub const m_flRealTime: usize = 0x28; // float32
pub const m_flTickInterval: usize = 0x2C; // float32
pub const m_flTickStartTime: usize = 0x30; // float64
}
// Parent: EventSimulate_t
// Field count: 0
pub mod EventServerPollNetworking_t {
}
}
}
}