-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoffsets.cpp
319 lines (276 loc) · 5.44 KB
/
offsets.cpp
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
#include "offsets.hpp"
namespace Offsets {
// CCvar
int RegisterConCommand;
int UnregisterConCommand;
int FindCommandBase;
int InstallGlobalChangeCallback;
int RemoveGlobalChangeCallback;
int m_pConCommandList;
// ConCommandBase
int IsCommand;
// CEngineClient
int GetScreenSize;
int ClientCmd;
int GetLocalPlayer;
int GetGameDirectory;
int GetViewAngles;
int SetViewAngles;
int GetMaxClients;
int ServerCmdKeyValues;
int ExecuteClientCmd;
int GetActiveSplitScreenPlayerSlot;
int GetSteamAPIContext;
int IsPaused;
int Con_IsVisible;
// CHLClient
int GetAllClasses;
int HudProcessInput;
int IN_ActivateMouse;
int JoyStickApplyMovement;
int LevelInitPreEntity;
// ClientModeShared
int CreateMove;
int OverrideView;
// ConVar
int Dtor;
int InternalSetValue;
int InternalSetFloatValue;
int InternalSetIntValue;
int Create;
// CMatSystemSurface
int DrawSetColor;
int DrawFilledRect;
int DrawColoredCircle;
int DrawLine;
int DrawSetTextFont;
int DrawSetTextColor;
int GetFontTall;
int PaintTraverseEx;
int DrawColoredText;
int DrawTextLen;
int GetKernedCharWidth;
int GetFontName;
int DrawSetTextureFile;
int DrawSetTextureRGBA;
int DrawSetTexture;
int DrawGetTextureSize;
int DrawTexturedRect;
int IsTextureIDValid;
int CreateNewTextureID;
// CInputSystem
int StringToButtonCode;
int SleepUntilInput;
int IsButtonDown;
int GetCursorPosition;
int SetCursorPosition;
// CInput
int GetButtonBits;
int DecodeUserCmdFromBuffer;
// CGameMovement
int PlayerMove;
int AirAccelerate;
int AirMove;
int FinishGravity;
int CheckJumpButton;
int FullTossMove;
int mv;
int player;
int ProcessMovement;
// CDemoRecorder
int GetRecordingTick;
int SetSignonState;
int StartRecording;
int StopRecording;
int RecordCustomData;
int RecordCommand;
int m_szDemoBaseName;
int m_bRecording;
int m_nDemoNumber;
// CDemoPlayer
int GetPlaybackTick;
int StartPlayback;
int StopPlayback;
int IsPlayingBack;
int m_szFileName;
// CClientState
int ProcessTick;
int Disconnect;
int viewangles;
// C_BaseEntity
int C_m_vecAbsOrigin;
int C_m_angAbsRotation;
int C_m_vecVelocity;
int C_m_vecViewOffset;
// CBaseEntity
int S_m_vecAbsOrigin;
int S_m_angAbsRotation;
int S_m_vecVelocity;
int m_iEFlags;
int m_flMaxspeed;
int m_flGravity;
int S_m_vecViewOffset;
int IsPlayer;
int AcceptInput;
// CBasePlayer
int m_fFlags;
int m_MoveType;
int m_nWaterLevel;
int m_bDucked;
int m_flFriction;
int m_pSurfaceData;
int m_pShadowStand;
int m_pShadowCrouch;
int m_Local;
int S_m_hGroundEntity;
int C_m_hGroundEntity;
int m_iBonusChallenge;
// CPlayerLocalData
int m_nTractorBeamCount;
int m_hTractorBeam;
// CPortal_Player
int iNumPortalsPlaced;
int m_StatsThisLevel;
//CWeaponPortalgun
int m_bCanFirePortal1;
int m_bCanFirePortal2;
int m_hPrimaryPortal;
int m_hSecondaryPortal;
int m_iPortalLinkageGroupID;
// CProp_Portal
int m_bActivated;
int m_bIsPortal2;
int m_hActiveWeapon;
// IEngineVGuiInternal
int IsGameUIVisible;
int Paint;
// IEngineTrace
int TraceRay;
// CEngineTool
int GetCurrentMap;
int HostFrameTime;
int ClientTime;
int PrecacheModel;
int ClientTick;
int ServerTick;
int HostTick;
// CSchemeManager
int GetIScheme;
// CScheme
int GetFont;
// IClientEntityList
int GetClientEntity;
// CServerGameDLL
int GameFrame;
int Think;
int GetAllServerClasses;
int IsRestoring;
// CHud
int GetName;
//CHUDQuickInfo
int ShouldDraw;
// CGameEventManager
int AddListener;
int RemoveListener;
int FireEventClientSide;
int FireEventIntern;
int ConPrintEvent;
// CEngine
int Frame;
// CEngineAPI
int IsRunningSimulation;
int Init;
// CIVDebugOverlay
int ScreenPosition;
int AddBoxOverlay;
int AddSphereOverlay;
int AddTriangleOverlay;
int AddLineOverlay;
int AddScreenTextOverlay;
int ClearAllOverlays;
// CCommandBuffer
int m_bWaitEnabled;
// CServerTools
int GetIServerEntity;
int CreateEntityByName;
int DispatchSpawn;
int SetKeyValueChar;
int SetKeyValueFloat;
int SetKeyValueVector;
// CVEngineServer
int ClientCommand;
// CBaseHudChat
int ChatPrintf;
int MsgFunc_SayText2;
// CSteam3Client
int OnGameOverlayActivated;
// surfacedata_t
int jumpFactor;
// IPhysicsObject
int IsAsleep;
int IsCollisionEnabled;
int IsGravityEnabled;
int IsDragEnabled;
int IsMotionEnabled;
int GetPosition;
int GetVelocity;
int SetPosition;
int SetVelocity;
int EnableGravity;
// IVideoMode
int GetModeWidth;
int GetModeHeight;
int ReadScreenPixels;
// Others
int tickcount;
int interval_per_tick;
int GetClientStateFunction;
int cl;
int demoplayer;
int demorecorder;
int m_szLevelName;
int AirMove_Offset1;
int AirMove_Offset2;
int UTIL_PlayerByIndex;
int gpGlobals;
int g_Input;
int in_jump;
int KeyDown;
int KeyUp;
int GetClientMode;
int State_Shutdown;
int Cbuf_AddText;
int s_CommandBuffer;
int CCommandBufferSize;
int AddText;
int AutoCompletionFunc;
int StartDrawing;
int FinishDrawing;
int GetHud;
int FindElement;
int Key_SetBinding;
int eng;
int HostState_OnClientConnected;
int hoststate;
int m_bLoadGame;
int NUM_ENT_ENTRIES;
int ENT_ENTRY_MASK;
int INVALID_EHANDLE_INDEX;
int NUM_SERIAL_NUM_SHIFT_BITS;
int m_iClassName;
int m_iName;
int m_EntPtrArray;
int g_pClientMode;
int m_pCommands;
int CUserCmdSize;
int MULTIPLAYER_BACKUP;
int PerUserInput_tSize;
int GetLocalClient;
int MAX_SPLITSCREEN_PLAYERS;
int net_time;
int VideoMode_Create;
int videomode;
int snd_linear_count;
int snd_p;
int snd_vol;
}