sourcemod/gamedata
Mikusch 542b7673d6 Add LookupEntityAttachment & GetEntityAttachment natives (#1653)
Using the virtual `CBaseAnimating::GetAttachment(int, matrix3x4_t &)` was a deliberate choice because virtual offsets are generally easier to maintain than signatures. The `matrix3x4_t` is converted to world position and world angles internally.
Some of the other overloads are also inlined on a few games, making this the best choice.

Since this call can only be used on classes inheriting `CBaseAnimating`, we check if the `DT_BaseAnimating` SendTable exists on the entity, throwing a native error if it doesn't.
This safeguard could be greatly improved with a call to `CBaseEntity::GetBaseAnimating`, but would require more gamedata (maybe something to consider for the future?)
2023-08-30 22:08:45 +02:00
..
core.games Detect invalid menu item selections in L4D-based games (#1543) 2021-07-18 20:57:13 +01:00
sdkhooks.games Update Contagion SDKHooks gamedata. 2023-08-30 22:08:45 +02:00
sdktools.games Add LookupEntityAttachment & GetEntityAttachment natives (#1653) 2023-08-30 22:08:45 +02:00
sm-cstrike.games Update TerminateRound signature for CSGO 2023-08-30 22:08:45 +02:00
funcommands.games.txt Change sm_beacon to use game-specific team colors (#1187) 2020-02-23 14:03:00 +00:00
sm-tf2.games.txt Update Team Fortress 2 gamedata 2023-08-30 22:08:45 +02:00