Skip to content

Commit

Permalink
Update TF2 data (#460).
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbriere committed Dec 2, 2022
1 parent 16c191a commit 1f38de8
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# _ZN20CBaseCombatCharacter18OnTakeDamage_AliveERK15CTakeDamageInfo
[[on_take_damage_alive]]
offset_linux = 280
offset_windows = 279
offset_linux = 283
offset_windows = 282
arguments = POINTER
return_type = INT

# _ZN20CBaseCombatCharacter13Weapon_SwitchEP17CBaseCombatWeaponi
[[weapon_switch]]
offset_linux = 272
offset_windows = 271
offset_linux = 275
offset_windows = 274
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

# _ZN17CBaseCombatWeapon13PrimaryAttackEv
[[primary_attack]]
offset_linux = 289
offset_windows = 288
offset_linux = 292
offset_windows = 291

# _ZN17CBaseCombatWeapon15SecondaryAttackEv
[[secondary_attack]]
offset_linux = 290
offset_windows = 289
offset_linux = 293
offset_windows = 292
Original file line number Diff line number Diff line change
@@ -1,25 +1,50 @@
[virtual_function]

# _ZN11CBaseEntity8SetModelEPKc
[[set_model]]
offset_linux = 27
offset_windows = 26
arguments = STRING

# _ZN11CBaseEntity9SetParentEPS_i
[[set_parent]]
offset_linux = 37
offset_windows = 36
arguments = POINTER, INT

# _ZN11CBaseEntity12OnTakeDamageERK15CTakeDamageInfo
[[on_take_damage]]
offset_linux = 65
offset_windows = 64
arguments = POINTER
return_type = INT

# _ZN11CBaseEntity8TeleportEPK6VectorPK6QAngleS2_
[[teleport]]
offset_linux = 112
offset_windows = 111
offset_linux = 114
offset_windows = 113
arguments = POINTER, POINTER, POINTER

# _ZN11CBaseEntity11SetTransmitEP18CCheckTransmitInfob
[[set_transmit]]
offset_linux = 23
offset_windows = 22
arguments = POINTER, BOOL

# _ZN11CBaseEntity10StartTouchEPS_
[[start_touch]]
offset_linux = 102
offset_windows = 101
offset_linux = 104
offset_windows = 103
arguments = POINTER

# _ZN11CBaseEntity5TouchEPS_
[[touch]]
offset_linux = 103
offset_windows = 102
offset_linux = 105
offset_windows = 104
arguments = POINTER

# _ZN11CBaseEntity8EndTouchEPS_
[[end_touch]]
offset_linux = 104
offset_windows = 103
offset_linux = 106
offset_windows = 105
arguments = POINTER
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@

# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
[[drop_weapon]]
offset_linux = 271
offset_windows = 270
offset_linux = 274
offset_windows = 273
arguments = POINTER, POINTER, POINTER

# _ZN11CBasePlayer8PreThinkEv
[[pre_think]]
offset_linux = 341
offset_windows = 340
offset_linux = 344
offset_windows = 343

# _ZN11CBasePlayer9PostThinkEv
[[post_think]]
offset_linux = 342
offset_windows = 341
offset_linux = 345
offset_windows = 344

# _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper
[[run_command]]
offset_linux = 428
offset_windows = 427
offset_linux = 431
offset_windows = 430
arguments = POINTER, POINTER


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# _ZN9CTFPlayer10BumpWeaponEP17CBaseCombatWeapon
[[bump_weapon]]
offset_linux = 406
offset_windows = 405
offset_linux = 409
offset_windows = 408
arguments = POINTER
return_type = BOOL

Expand Down

0 comments on commit 1f38de8

Please sign in to comment.