fix: update sigs, vtable indices and schema vfunc for 2026-07-08 CS2 update
This commit is contained in:
parent
e136f9af2d
commit
a3ccf7f44a
3 changed files with 5 additions and 16 deletions
|
|
@ -102,13 +102,13 @@ inline CEntityInstance* UTIL_FindEntityByEHandle(CEntityInstance* pFind)
|
|||
|
||||
typedef void (*CEntityInstance_AcceptInput_t)(CEntityInstance* pThis, const char* pInputName,
|
||||
CEntityInstance* pActivator, CEntityInstance* pCaller,
|
||||
const variant_t& pValue, int nOutputID, void* pUnk1);
|
||||
const variant_t& pValue);
|
||||
inline CEntityInstance_AcceptInput_t g_CEntityInstance_AcceptInput = nullptr;
|
||||
|
||||
typedef void (*CEntitySystem_AddEntityIOEvent_t)(CEntitySystem* pEntitySystem, CEntityInstance* pThis,
|
||||
const char* pInputName, CEntityInstance* pActivator,
|
||||
CEntityInstance* pCaller, const variant_t& pValue, float delay,
|
||||
int nOutputID, void* pUnk1, void* pUnk2);
|
||||
void* pUnk1, void* pUnk2);
|
||||
inline CEntitySystem_AddEntityIOEvent_t g_CEntitySystem_AddEntityIOEvent = nullptr;
|
||||
|
||||
|
||||
|
|
@ -429,7 +429,7 @@ public:
|
|||
return;
|
||||
}
|
||||
|
||||
g_CEntityInstance_AcceptInput(this, pInputName, pActivator, pCaller, variant_t(value), 0, 0LL);
|
||||
g_CEntityInstance_AcceptInput(this, pInputName, pActivator, pCaller, variant_t(value));
|
||||
}
|
||||
|
||||
void AddEntityIOEvent(const char* pInputName, CEntityInstance* pActivator = nullptr,
|
||||
|
|
@ -447,8 +447,7 @@ public:
|
|||
}
|
||||
|
||||
g_CEntitySystem_AddEntityIOEvent(shared::g_pEntitySystem, this, pInputName, pActivator, pCaller,
|
||||
variant_t(value), flDelay, 0,
|
||||
0LL, 0LL);
|
||||
variant_t(value), flDelay, 0LL, 0LL);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -290,10 +290,6 @@ namespace RayTracePlugin {
|
|||
[[nodiscard]] static gear_slot_t GetItemGearSlot(const char *item) noexcept;
|
||||
|
||||
CBasePlayerWeapon *GiveNamedItemAws(const char *item) noexcept;
|
||||
|
||||
void RemoveWeapons() {
|
||||
CALL_VIRTUAL(void, shared::g_pGameConfig->GetOffset("CCSPlayer_ItemServices_RemoveWeapons"), this);
|
||||
}
|
||||
};
|
||||
|
||||
// We need an exactly sized class to be able to iterate the vector, our schema system implementation can't do this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue