mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Fix some major issues (networking didn't work, gameservers didn't work) with the steamclient version.
Implemented a basic steampipe alloc system and fixed build.
This commit is contained in:
parent
4e6aa809de
commit
11cb3ce998
7 changed files with 147 additions and 66 deletions
|
|
@ -55,6 +55,12 @@
|
|||
|
||||
#include <thread>
|
||||
|
||||
enum Steam_Pipe {
|
||||
NO_USER,
|
||||
CLIENT,
|
||||
SERVER
|
||||
};
|
||||
|
||||
class Steam_Client :
|
||||
public ISteamClient007,
|
||||
public ISteamClient008,
|
||||
|
|
@ -124,6 +130,10 @@ public:
|
|||
bool user_logged_in = false;
|
||||
bool server_init = false;
|
||||
std::thread background_keepalive;
|
||||
bool steamclient_server_inited = false;
|
||||
|
||||
unsigned steam_pipe_counter = 2;
|
||||
std::map<HSteamPipe, enum Steam_Pipe> steam_pipes;
|
||||
|
||||
Steam_Client();
|
||||
~Steam_Client();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue