Permalink
Browse files

Bump ReHLDS version to 3.5 (#647)

  • Loading branch information...
Arkshine committed Dec 18, 2018
1 parent 9eb1f42 commit 6c53524d86dc31ed14a2acb379fca2aedf1bc5a3
Showing with 6 additions and 1 deletion.
  1. +6 −1 public/resdk/engine/rehlds_api.h
@@ -45,7 +45,7 @@
#include "../common/hookchains.h"

#define REHLDS_API_VERSION_MAJOR 3
#define REHLDS_API_VERSION_MINOR 4
#define REHLDS_API_VERSION_MINOR 5

//Steam_NotifyClientConnect hook
typedef IHookChain<qboolean, IGameClient*, const void*, unsigned int> IRehldsHook_Steam_NotifyClientConnect;
@@ -203,6 +203,10 @@ typedef IHookChainRegistry<bool, edict_t *, IGameClient *, int, const char*, flo
typedef IHookChain<edict_t *, const char *> IRehldsHook_CreateFakeClient;
typedef IHookChainRegistry<edict_t *, const char *> IRehldsHookRegistry_CreateFakeClient;

//SV_CheckConnectionLessRateLimits
typedef IHookChain<bool, netadr_t &, const uint8_t *, int> IRehldsHook_SV_CheckConnectionLessRateLimits;
typedef IHookChainRegistry<bool, netadr_t &, const uint8_t *, int> IRehldsHookRegistry_SV_CheckConnectionLessRateLimits;

class IRehldsHookchains {
public:
virtual ~IRehldsHookchains() { }
@@ -246,6 +250,7 @@ class IRehldsHookchains {
virtual IRehldsHookRegistry_SV_CreatePacketEntities* SV_CreatePacketEntities() = 0;
virtual IRehldsHookRegistry_SV_EmitSound2* SV_EmitSound2() = 0;
virtual IRehldsHookRegistry_CreateFakeClient* CreateFakeClient() = 0;
virtual IRehldsHookRegistry_SV_CheckConnectionLessRateLimits* SV_CheckConnectionLessRateLimits() = 0;
};

struct RehldsFuncs_t {

0 comments on commit 6c53524

Please sign in to comment.