mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-04-20 05:25:44 +00:00
purposed cleanup
This commit is contained in:
parent
1b41b53d78
commit
57248cc8f8
@ -173,7 +173,8 @@ namespace test
|
||||
//utils::hook::jump(0x4D3296, our_funny_hook);
|
||||
|
||||
// test usercall detour!
|
||||
scr_getentityid_hook.create(0x692520, scr_getentityid_stub);
|
||||
scr_getentityid_hook.create(game::Scr_GetEntityId(), scr_getentityid_stub);
|
||||
// scr_getentityid_hook.create(game::SL_GetStringOfSize.get(), sl_getstringofsize_stub);
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -51,7 +51,8 @@ namespace game
|
||||
void Scr_AddUndefined(game::scriptInstance_t inst);
|
||||
gentity_s* Scr_GetEntity(unsigned int arg_index);
|
||||
void Scr_AddEntity(game::scriptInstance_t inst, gentity_s* ent);
|
||||
unsigned int Scr_GetEntityId(scriptInstance_t inst, unsigned int entnum, classNum_e classnum, unsigned int clientnum, void* call_addr = CALL_ADDR(0x0, 0x692520));
|
||||
__inline void* Scr_GetEntityId() { return CALL_ADDR(0x0, 0x692520); }
|
||||
unsigned int Scr_GetEntityId(scriptInstance_t inst, unsigned int entnum, classNum_e classnum, unsigned int clientnum, void* call_addr = Scr_GetEntityId());
|
||||
void Scr_AddEntityNum(scriptInstance_t inst, unsigned int entid);
|
||||
pathnode_t* Scr_GetPathnode(scriptInstance_t inst);
|
||||
void Scr_AddPathnode(scriptInstance_t inst, pathnode_t* node);
|
||||
|
Loading…
x
Reference in New Issue
Block a user