mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
Merge branch 'steam-broker'
This commit is contained in:
@@ -649,10 +649,16 @@ typedef struct
|
||||
// server's build number (might be zero)
|
||||
int build_num;
|
||||
uint8_t steamid[8];
|
||||
uint64_t server_steamid;
|
||||
|
||||
// whether server allows cheats or not
|
||||
// set differently depending on protocol and extensions
|
||||
qboolean allow_cheats;
|
||||
|
||||
// if server declares steam auth method, we can use our broker software to get the ticket
|
||||
qboolean steam_auth;
|
||||
qboolean broker_wait;
|
||||
qboolean vac2_secure;
|
||||
} client_static_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -777,6 +783,7 @@ int CL_IsDevOverviewMode( void );
|
||||
void CL_SignonReply( connprotocol_t proto );
|
||||
void CL_ClearState( void );
|
||||
void CL_SetCheatState( qboolean multiplayer, qboolean allow_cheats );
|
||||
void CL_SendGoldSrcConnectPacket( netadr_t adr, int challenge, const void *ticket, size_t ticketlen );
|
||||
|
||||
//
|
||||
// cl_demo.c
|
||||
@@ -1192,6 +1199,15 @@ void Mobile_Shutdown( void );
|
||||
//
|
||||
void CL_GetSecuredClientAPI( CL_EXPORT_FUNCS F );
|
||||
|
||||
//
|
||||
// cl_steam.c
|
||||
//
|
||||
void SteamBroker_Init( void );
|
||||
void SteamBroker_Shutdown( void );
|
||||
void SteamBroker_HandlePacket( netadr_t from, sizebuf_t *msg );
|
||||
int SteamBroker_InitiateGameConnection( netadr_t serveradr, int challenge );
|
||||
void SteamBroker_TerminateGameConnection( void );
|
||||
|
||||
//
|
||||
// cl_video.c
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user