2017-02-13 05:07:47 +03:00
|
|
|
#ifndef _INCLUDE_REHLDS_API_H_
|
|
|
|
#define _INCLUDE_REHLDS_API_H_
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-10-10 09:38:41 +03:00
|
|
|
extern IRehldsApi *g_RehldsApi;
|
|
|
|
extern const RehldsFuncs_t *g_RehldsFuncs;
|
|
|
|
extern IRehldsServerData *g_RehldsData;
|
|
|
|
extern IRehldsHookchains *g_RehldsHookchains;
|
|
|
|
extern IRehldsServerStatic *g_RehldsSvs;
|
2017-02-13 05:07:47 +03:00
|
|
|
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_
|