Permalink
Browse files

Added some missing GMod data

  • Loading branch information...
Ayuto committed Jan 19, 2019
1 parent 434ef35 commit 0c48d4283181dfe029c7a3eefa3a1d93b9c03e4f
@@ -0,0 +1,8 @@
[virtual_function]

# _ZN20CBaseCombatCharacter13Weapon_SwitchEP17CBaseCombatWeaponi
[[weapon_switch]]
offset_linux = 321
offset_windows = 320
arguments = POINTER, INT
return_type = BOOL
@@ -0,0 +1,11 @@
[virtual_function]

# _ZN17CBaseCombatWeapon13PrimaryAttackEv
[[primary_attack]]
offset_linux = 329
offset_windows = 328

# _ZN17CBaseCombatWeapon13SecondaryAttackEv
[[secondary_attack]]
offset_linux = 330
offset_windows = 329
@@ -0,0 +1,44 @@
[virtual_function]

# _ZN11CBaseEntity9SetParentEPS_i
[[set_parent]]
offset_linux = 35
offset_windows = 34
arguments = POINTER, INT

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

# _ZN11CBaseEntity8TeleportEPK6VectorPK6QAngleS2_
[[teleport]]
offset_linux = 111
offset_windows = 110
arguments = POINTER, POINTER, POINTER

# _ZN11CBaseEntity11SetTransmitEP18CCheckTransmitInfob
[[set_transmit]]
offset_linux = 21
offset_windows = 20
arguments = POINTER, BOOL

# _ZN11CBaseEntity10StartTouchEPS_
[[start_touch]]
offset_linux = 101
offset_windows = 100
arguments = POINTER

# _ZN11CBaseEntity5TouchEPS_
[[touch]]
offset_linux = 102
offset_windows = 101
arguments = POINTER

# _ZN11CBaseEntity8EndTouchEPS_
[[end_touch]]
offset_linux = 103
offset_windows = 102
arguments = POINTER
@@ -0,0 +1,44 @@
[virtual_function]

# _ZN11CBasePlayer10BumpWeaponEP17CBaseCombatWeapon
[[bump_weapon]]
offset_linux = 453
offset_windows = 452
arguments = POINTER, BOOL
return_type = BOOL

# _ZN11CBasePlayer11Weapon_DropEP17CBaseCombatWeaponPK6VectorS4_
[[drop_weapon]]
offset_linux = 320
offset_windows = 319
arguments = POINTER, POINTER, POINTER

# _ZN11CBasePlayer13GiveNamedItemEPKcibP11CBaseEntity
[[give_named_item]]
offset_linux = 457
offset_windows = 456
arguments = STRING, INT
return_type = POINTER

# _ZN11CBasePlayer16PlayerRunCommandEP8CUserCmdP11IMoveHelper
[[run_command]]
offset_linux = 475
offset_windows = 474
arguments = POINTER, POINTER

# _ZN11CBasePlayer8PreThinkEv
[[pre_think]]
offset_linux = 389
offset_windows = 388

# _ZN11CBasePlayer9PostThinkEv
[[post_think]]
offset_linux = 390
offset_windows = 389


[property]

[[view_offset]]
name = m_vecViewOffset[0]
type = Vector
@@ -0,0 +1,7 @@
[property]

ragdoll = m_hRagdoll

[[eye_angle]]
name = hl2mplocaldata.m_angEyeAngles[0]
type = QAngle
@@ -5,6 +5,6 @@ binary = server
[function]
[[fire_output]]
identifier_linux = _ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f
identifier_windows = 55 8B EC 81 EC 20 01 00 00 53 56 8B
identifier_windows = 55 8B EC 81 EC 24 01 00 00 53 8B C1
arguments_linux = POINTER, POINTER, POINTER, FLOAT
arguments_windows = INT, INT, INT, INT, POINTER, POINTER, POINTER, FLOAT
@@ -3,8 +3,8 @@
[CGlobalEntityList]
binary = server
identifier_linux = gEntList
identifier_windows = 55 8B EC 83 EC 08 56 57 8B 7D 08 6A 00 B9
offset_windows = 14
identifier_windows = 55 8B EC 8B 45 08 B9 2A 2A 2A 2A 53
offset_windows = 7
level_windows = 1

[IServer]
@@ -163,6 +163,12 @@ def setup_data():

from _entities import BaseEntityOutput
BaseEntityOutput.fire_output = _fire_output
except ValueError:
from warnings import warn
warn(
'Did not find address for BaseEntityOutput.fire_output. '
'OnEntityOutput listener will not fire.'
)
except AttributeError:
from warnings import warn
warn(

0 comments on commit 0c48d42

Please sign in to comment.