engine: add NetAPI flag to send NetAPI requests to old protocol servers

This commit is contained in:
Alibek Omarov
2024-07-07 06:17:15 +03:00
parent 296a7ac11d
commit dabbe09918
2 changed files with 2 additions and 1 deletions

View File

@@ -27,6 +27,7 @@
// Set this flag for things like broadcast requests, etc. where the engine should not
// kill the request hook after receiving the first response
#define FNETAPI_MULTIPLE_RESPONSE ( 1<<0 )
#define FNETAPI_LEGACY_PROTOCOL ( 1<<1 ) // xash3d-fwgs extension
struct net_response_s;
typedef void (*net_api_response_func_t) ( struct net_response_s *response );