@@ -187,8 +187,8 @@ typedef IHookChain<int, enum sv_delta_s, IGameClient *, struct packet_entities_s
187187typedef IHookChainRegistry<int , enum sv_delta_s, IGameClient *, struct packet_entities_s *, struct sizebuf_s *> IRehldsHookRegistry_SV_CreatePacketEntities;
188188
189189// SV_EmitSound2 hook
190- typedef IHookChain<bool , edict_t *, IGameClient *, int , const char *, float , float , int , int , int , const float *> IRehldsHook_SV_EmitSound2;
191- typedef IHookChainRegistry<bool , edict_t *, IGameClient *, int , const char *, float , float , int , int , int , const float *> IRehldsHookRegistry_SV_EmitSound2;
190+ typedef IHookChain<bool , edict_t *, IGameClient *, int , const char *, float , float , int , int , int , const float *> IRehldsHook_SV_EmitSound2;
191+ typedef IHookChainRegistry<bool , edict_t *, IGameClient *, int , const char *, float , float , int , int , int , const float *> IRehldsHookRegistry_SV_EmitSound2;
192192
193193// CreateFakeClient hook
194194typedef IHookChain<edict_t *, const char *> IRehldsHook_CreateFakeClient;
@@ -203,8 +203,8 @@ typedef IVoidHookChain<> IRehldsHook_SV_Frame;
203203typedef IVoidHookChainRegistry<> IRehldsHookRegistry_SV_Frame;
204204
205205// SV_ShouldSendConsistencyList hook
206- typedef IHookChain<bool , IGameClient*, bool > IRehldsHook_SV_ShouldSendConsistencyList;
207- typedef IHookChainRegistry<bool , IGameClient*, bool > IRehldsHookRegistry_SV_ShouldSendConsistencyList;
206+ typedef IHookChain<bool , IGameClient *, bool > IRehldsHook_SV_ShouldSendConsistencyList;
207+ typedef IHookChainRegistry<bool , IGameClient *, bool > IRehldsHookRegistry_SV_ShouldSendConsistencyList;
208208
209209// GetEntityInit hook
210210typedef IHookChain<ENTITYINIT, char *> IRehldsHook_GetEntityInit;
@@ -222,6 +222,10 @@ typedef IHookChainRegistry<edict_t *> IRehldsHookRegistry_ED_Alloc;
222222typedef IVoidHookChain<edict_t *> IRehldsHook_ED_Free;
223223typedef IVoidHookChainRegistry<edict_t *> IRehldsHookRegistry_ED_Free;
224224
225+ // Con_Printf hook
226+ typedef IHookChain<void , const char *> IRehldsHook_Con_Printf;
227+ typedef IHookChainRegistry<void , const char *> IRehldsHookRegistry_Con_Printf;
228+
225229class IRehldsHookchains {
226230public:
227231 virtual ~IRehldsHookchains () { }
@@ -272,6 +276,7 @@ class IRehldsHookchains {
272276 virtual IRehldsHookRegistry_SV_EmitPings* SV_EmitPings () = 0;
273277 virtual IRehldsHookRegistry_ED_Alloc* ED_Alloc () = 0;
274278 virtual IRehldsHookRegistry_ED_Free* ED_Free () = 0;
279+ virtual IRehldsHookRegistry_Con_Printf* Con_Printf () = 0;
275280};
276281
277282struct RehldsFuncs_t {
0 commit comments