ZPS: Add LookupEntityAttachment and GetEntityAttachment Gamedata (#1706)

* Add LookupAttachment and GetAttachment

Offset and Signature for Zombie Panic! Source.

* Fix Gamerules not being available

This fixes the issue that would throw an error when trying to use SDKCall with type SDKCall_GameRules.

* Add SetOwnerEntity offset

Add SetOwnerEntity offset
This commit is contained in:
XeroX 2022-02-09 02:56:31 +01:00 committed by Your Name
parent 19f1ffa401
commit 0e4894e8db

View File

@ -86,6 +86,16 @@
"windows" "440" "windows" "440"
"linux" "441" "linux" "441"
} }
"GetAttachment"
{
"windows" "219"
"linux" "220"
}
"SetOwnerEntity"
{
"windows" "25"
"linux" "26"
}
} }
"Signatures" "Signatures"
{ {
@ -95,6 +105,17 @@
"windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x2A\x2A\x53\x8B\x5D\x2A\x8B\xC1\x8B\x2A\x2A\x56\x57" "windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x2A\x2A\x53\x8B\x5D\x2A\x8B\xC1\x8B\x2A\x2A\x56\x57"
"linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
} }
"LookupAttachment"
{
"library" "server"
"windows" "\x55\x8B\xEC\x56\x8B\xF1\x80\xBE\x7D\x06\x00\x00\x00\x75\x2A\x83\xBE\x9C\x07\x00\x00\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x8B\x86\x9C\x07\x00\x00\x85\xC0\x74\x2A\x83\x38\x00\x74\x2A\xFF\x75\x08\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x40"
"linux" "@_ZN14CBaseAnimating16LookupAttachmentEPKc"
}
}
"Keys"
{
"GameRulesProxy" "CGameMode_Manager"
"GameRulesDataTable" "zps_gamerules_data"
} }
} }
} }