Skip to content

Commit 1f38de8

Browse files
committed
Update TF2 data (#460).
1 parent 16c191a commit 1f38de8

File tree

5 files changed

+51
-26
lines changed

5 files changed

+51
-26
lines changed

Diff for: addons/source-python/data/source-python/entities/orangebox/tf/CBaseCombatCharacter.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
# _ZN20CBaseCombatCharacter18OnTakeDamage_AliveERK15CTakeDamageInfo
44
[[on_take_damage_alive]]
5-
offset_linux = 280
6-
offset_windows = 279
5+
offset_linux = 283
6+
offset_windows = 282
77
arguments = POINTER
88
return_type = INT
99

1010
# _ZN20CBaseCombatCharacter13Weapon_SwitchEP17CBaseCombatWeaponi
1111
[[weapon_switch]]
12-
offset_linux = 272
13-
offset_windows = 271
12+
offset_linux = 275
13+
offset_windows = 274

Diff for: addons/source-python/data/source-python/entities/orangebox/tf/CBaseCombatWeapon.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
# _ZN17CBaseCombatWeapon13PrimaryAttackEv
44
[[primary_attack]]
5-
offset_linux = 289
6-
offset_windows = 288
5+
offset_linux = 292
6+
offset_windows = 291
77

88
# _ZN17CBaseCombatWeapon15SecondaryAttackEv
99
[[secondary_attack]]
10-
offset_linux = 290
11-
offset_windows = 289
10+
offset_linux = 293
11+
offset_windows = 292
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,50 @@
11
[virtual_function]
22

3+
# _ZN11CBaseEntity8SetModelEPKc
4+
[[set_model]]
5+
offset_linux = 27
6+
offset_windows = 26
7+
arguments = STRING
8+
9+
# _ZN11CBaseEntity9SetParentEPS_i
10+
[[set_parent]]
11+
offset_linux = 37
12+
offset_windows = 36
13+
arguments = POINTER, INT
14+
15+
# _ZN11CBaseEntity12OnTakeDamageERK15CTakeDamageInfo
16+
[[on_take_damage]]
17+
offset_linux = 65
18+
offset_windows = 64
19+
arguments = POINTER
20+
return_type = INT
21+
322
# _ZN11CBaseEntity8TeleportEPK6VectorPK6QAngleS2_
423
[[teleport]]
5-
offset_linux = 112
6-
offset_windows = 111
24+
offset_linux = 114
25+
offset_windows = 113
726
arguments = POINTER, POINTER, POINTER
827

28+
# _ZN11CBaseEntity11SetTransmitEP18CCheckTransmitInfob
29+
[[set_transmit]]
30+
offset_linux = 23
31+
offset_windows = 22
32+
arguments = POINTER, BOOL
33+
934
# _ZN11CBaseEntity10StartTouchEPS_
1035
[[start_touch]]
11-
offset_linux = 102
12-
offset_windows = 101
36+
offset_linux = 104
37+
offset_windows = 103
1338
arguments = POINTER
1439

1540
# _ZN11CBaseEntity5TouchEPS_
1641
[[touch]]
17-
offset_linux = 103
18-
offset_windows = 102
42+
offset_linux = 105
43+
offset_windows = 104
1944
arguments = POINTER
2045

2146
# _ZN11CBaseEntity8EndTouchEPS_
2247
[[end_touch]]
23-
offset_linux = 104
24-
offset_windows = 103
48+
offset_linux = 106
49+
offset_windows = 105
2550
arguments = POINTER

Diff for: addons/source-python/data/source-python/entities/orangebox/tf/CBasePlayer.ini

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
44
[[drop_weapon]]
5-
offset_linux = 271
6-
offset_windows = 270
5+
offset_linux = 274
6+
offset_windows = 273
77
arguments = POINTER, POINTER, POINTER
88

99
# _ZN11CBasePlayer8PreThinkEv
1010
[[pre_think]]
11-
offset_linux = 341
12-
offset_windows = 340
11+
offset_linux = 344
12+
offset_windows = 343
1313

1414
# _ZN11CBasePlayer9PostThinkEv
1515
[[post_think]]
16-
offset_linux = 342
17-
offset_windows = 341
16+
offset_linux = 345
17+
offset_windows = 344
1818

1919
# _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper
2020
[[run_command]]
21-
offset_linux = 428
22-
offset_windows = 427
21+
offset_linux = 431
22+
offset_windows = 430
2323
arguments = POINTER, POINTER
2424

2525

Diff for: addons/source-python/data/source-python/entities/orangebox/tf/CTFPlayer.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# _ZN9CTFPlayer10BumpWeaponEP17CBaseCombatWeapon
44
[[bump_weapon]]
5-
offset_linux = 406
6-
offset_windows = 405
5+
offset_linux = 409
6+
offset_windows = 408
77
arguments = POINTER
88
return_type = BOOL
99

0 commit comments

Comments
 (0)