This repository was archived by the owner on Feb 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathObjectsTR.h
More file actions
324 lines (255 loc) · 5.78 KB
/
ObjectsTR.h
File metadata and controls
324 lines (255 loc) · 5.78 KB
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
320
321
322
323
324
#pragma once
#define CLASSES
//-----------GAMEOBJECT-----------//
enum class oGameObject //8.10
{
Type = 0x4, // 8.10
Team = 0x14, // 8.10
Name = 0x1C, // 8.10
Position = 0xF4, // 8.10
ServerPosition = 0xF4, // 8.10
BoundingRadius = 0x78,
BBox = 0x84,
IsDead = 0xF0,//8.10
VisibleOnScreen = 0xC0,//8.10 bool // or 2B0
NetworkId = 0x6C, // 8.10
ChampName = 0x1764,//8.10
Vur = 0x394,
};
//-----------ATTACKABLEUNIT-----------//
enum class oAttackableUnit
{
Health = 0x670, // 8.10
MaxHealth = Health + 0x10, // 8.10
Mana = 0x20c, // nupd
MaxMana = Mana + 0x10, // nupd
IsBot = 0x1170, //nupd
HasBotAI = IsBot + 0x1,//nupd
IsInVulnerable = 0x2D0,//nupd
IsPhysicalImmune = IsInVulnerable + 0x10,//nupd
MagicImmune = IsPhysicalImmune + 0x10,//nupd
IsLifestealImmune = MagicImmune + 0x10,//nupd
IsZombie = 0x12,//nupd
ArmorMaterial = 0x330,//nupd
WeaponMaterial = 0x348,//nupd
AllShield = 0x180,//8.10
AttackShield = 0x0A88, //nupd
MagicShield = 0x1A0, //8.10
OverrideCollisionRadius = 0x3a8, //dword ptr [edi+3C4h] //nupd
OverrideCollisionHeight = OverrideCollisionRadius + 0x4, //dword ptr [edi+3C0h] //nupd
PathfindingCollisionRadius = OverrideCollisionHeight + 0x4, //nupd
Direction = 0x2BA0, //nupd
IsTargetable = 0x1E8,//nupd
IsTargetableToTeamFlags = 0x1F8,//nupd
};
//-----------AI_BASE-----------//
enum class Obj_AIBase
{
ResourceName = 0x240,
Gold = 0x1230,//8.10
GoldTotal = Gold + 0x10,
EvolvePoints = 0x35EC,
PlayerControlled = 0x93C,
//SpellCastBlockingAI = 0, //deprecated
//AI_LastPetSpawnedID = 0, //deprecated
//PetReturnRadius = 0, //deprecated
//EnemyId = 0, //deprecated
//TauntTargetId = EnemyId + 0x4,
//FearLeashPoint = TauntTargetId + 0x4,
//LastPausePosition = 0, //deprecated
//DeathDuration = 0, //deprecated
ExpGiveRadius = 0x934,
AutoAttackTargettingFlags = 0x33B8,
CharacterState = 0x95C + 0x4, //IssueOrder
CharacterActionState = CharacterState + 0x4,
CharacterIntermediate = 0x9b8,
CombatType = 0x2E80,
SkinName = 0x8d0, //INGAME
//AIManager, Actor_Common
AIManager = 0x177C,//8.10
Actor_Common = 0x4, // 8.10
//SetSkin
CharacterDataStack = 0x33E8,
//UserComponent
UserComponent = 0x2ED0, //Capture
//CharData
CharData = 0xE18, //8.10
// 6.1
mPercentDamageToBarracksMinionMod = 0xE68,
mFlatDamageReductionFromBarracks = 0xE78,
};
//-----------MINION-----------//
enum class Obj_AIMinion
{
RoamState = 0x35D8,
OriginalState = RoamState + 0x4,
CampNumber = OriginalState + 0x4,
MinionLevel = 0x3664,
LeashedPosition = 0x35E8
};
//-----------AIHEROCLIENT-----------//
enum class Obj_AIHero
{
Experience = 0x362C,
ChampionName = 0x46FE,
Avatar = 0x5898,
Level = Experience + 0x10,
NumNeutralMinionsKilled = 0x37D0,
};
//-----------UnitInfoComponent-----------//
enum class UnitInfoComponent
{
InfoComponent = 0x1160
};
//-----------Obj_BarracksDampener-----------//
enum class Obj_BarracksDampener
{
DampenerState = 0x720
};
//-----------SPELLMISSILE-----------//
enum class Obj_SpellMissile
{
SpellCaster = 0x150,
LaunchPos = 0x150,
DestPos = 0x15C,
MissileData = 0x11C,
SData = 0x13C,
TargetId = 0x180,
Path = 0x0
};
enum class SpellMissileData
{
SpellCaster = 0x0,
SData = 0xD8,
CastInfo = 0x0
};
//-----------HEROINVENTORY-----------//
enum class InventorySlot
{
Stacks = 0x4,
Charges = 0x8,
PurchaseTime = 0xC,
ItemInfo = 0xC
};
enum class ItemNode
{
BuffScript = 0x18,
Slot = 0x10,
Name = 0x0,
ItemId = 0x70,
MaxStacks = ItemId + 0x4,
ItemCost = 0x98,
RecipeItemIds = 0xB0
};
//-----------BUFFINSTANCE-----------//
enum class OffsetBuffInstance
{
StartTime = 0x8,
EndTime = 0xC,
Type = 0x0,
Index = 0x70,
Count = 0x6C,
IsVisible = 0xA8,
ScriptBaseBuff = 0x4,
BuffScriptInfo = 0x1C
};
enum class OffsetScriptBaseBuff
{
Name = 0x8,
DisplayName = 0x34,
ChildScriptBuff = 0x48
};
//-----------SPELLBOOK-----------//
enum class SpellbookStruct
{
ActiveSpellSlot = 0xC,
CastTime = 0x28,
CastEndTime = 0x2C,
TargetType = 0x8,
Owner = 0x1C,
SpellCaster_Client = 0x20,
GetSpell = 0x530, //8.10
SBookInst = 0x14
};
enum class oSpellCastInfo
{
SpellData = 0x0,
Counter = 0x4,
Level = 0x8, //+1
TargetIndex = 0x4,
Start = 0x30,
End = 0x3C,
Slot = 0x3b8
};
enum class MissileClient
{
MissileClientData = 0x120,
SpellCaster = 0x130,
TargetId = 0x178,
};
//83 bd 1c 01 00 00 ? 0f 84 ? ? ? ? 8b 5c // SPELLDATA OFFSET 11C EASYXDXDXD NEXT TIME RITO I WILL FUCK YOU
enum class oSpellDataInst
{
Level = 0x1C,
CooldownExpires = 0x14,
Ammo = 0x18,
AmmoRechargeStart = 0x24,
ToggleState = 0x28,
Cooldown = 0x68,
SpellData = 0x11C, //8.9 83 ec ? 53 55 56 8b 74 ? ? 8b e9 57 83 be 1c 01 00 00
IsSealed = 0x84
};
//-----------DAMAGEINFO-----------//
enum class DamageInfo
{
Damage = 0x24,
DamageType = 0x54,
DamageHitType = 0x248
};
//-----------ActorCommon-----------//
enum class ActorCommonStruct //8.10
{
NavMesh = 0x1BC, //navmesh array
CurrentPosition = 0x2BC, //8.10
HasNavPath = 0x19c, //8.10
AINavPath = 0x0010, //8.10
NavBegin = 0x1BC, // 8.10
NavEnd = 0x1C0, // 8.10
Velocity=0x2C8 // 8.10
};
//-----------r3dRenderer-----------//
enum class r3dRendererStruct
{
View = 0x8C, //w2s
Projection = 0xCC,
ClientWidth = 0x20,
ClientHeight = 0x24,
};
//-----------Experience-----------//
enum class ExperienceStruct
{
NumExperience = 0x0,
Level = 0x10,
SpellTrainingPoints = 0x34,
};
//-----------BuffManager-----------//
enum class BuffManagerStruct
{
GetBegin = 0x1278,//8.9
GetEnd = 0x127c // 8.9
};
//-----------RiotClock-----------//
enum class RiotClockStruct
{
GameTime = 0x4, //Virtual
Time = 0x2C,
Delta = 0x14,
};
//-----------MissionInfo-----------//
enum class MissionInfoStruct
{
GameType = 0x0,
MapId = 0x4,
GameMode = 0x8,
GameId = 0x54
};