mirror of
https://github.com/rehlds/resemiclip.git
synced 2024-12-26 14:45:54 +03:00
8cae39a981
Prefer Sys_GetModuleHandle over Sys_LoadModule to avoid unnecessary reference count increase
22 lines
629 B
C
22 lines
629 B
C
#ifndef _INCLUDE_REHLDS_API_H_
|
|
#define _INCLUDE_REHLDS_API_H_
|
|
|
|
#pragma once
|
|
|
|
extern IRehldsApi *g_RehldsApi;
|
|
extern const RehldsFuncs_t *g_RehldsFuncs;
|
|
extern IRehldsServerData *g_RehldsData;
|
|
extern IRehldsHookchains *g_RehldsHookchains;
|
|
extern IRehldsServerStatic *g_RehldsSvs;
|
|
extern bool RehldsApi_Init();
|
|
|
|
typedef struct packet_entities_s {
|
|
int num_entities;
|
|
unsigned char flags[32];
|
|
entity_state_t *entities;
|
|
} packet_entities_t;
|
|
|
|
extern int SV_CreatePacketEntities(IRehldsHook_SV_CreatePacketEntities *chain, sv_delta_t type, IGameClient *client, packet_entities_t *to, sizebuf_t *msg);
|
|
|
|
#endif //_INCLUDE_REHLDS_API_H_
|