Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
NetServer.h File Reference
#include "NetFileTransfer.h"
#include "NetHost.h"
#include "lib/config2.h"
#include "lib/types.h"
#include "scriptinterface/ScriptTypes.h"
#include <ctime>
#include <mutex>
#include <string>
#include <utility>
#include <unordered_map>
#include <vector>
#include <thread>
Include dependency graph for NetServer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CNetServer
 Network server interface. More...
 
class  CNetServerWorker
 Network server worker thread. More...
 

Enumerations

enum  NetServerState {
  SERVER_STATE_UNCONNECTED , SERVER_STATE_PREGAME , SERVER_STATE_LOADING , SERVER_STATE_INGAME ,
  SERVER_STATE_POSTGAME
}
 
enum  NetServerSessionState {
  NSS_UNCONNECTED , NSS_HANDSHAKE , NSS_LOBBY_AUTHENTICATE , NSS_AUTHENTICATE ,
  NSS_PREGAME , NSS_JOIN_SYNCING , NSS_INGAME
}
 Server session representation of client state. More...
 

Variables

CNetServerg_NetServer
 Global network server for the standard game. More...
 

Enumeration Type Documentation

◆ NetServerSessionState

Server session representation of client state.

Enumerator
NSS_UNCONNECTED 
NSS_HANDSHAKE 
NSS_LOBBY_AUTHENTICATE 
NSS_AUTHENTICATE 
NSS_PREGAME 
NSS_JOIN_SYNCING 
NSS_INGAME 

◆ NetServerState

Enumerator
SERVER_STATE_UNCONNECTED 
SERVER_STATE_PREGAME 
SERVER_STATE_LOADING 
SERVER_STATE_INGAME 
SERVER_STATE_POSTGAME 

Variable Documentation

◆ g_NetServer

CNetServer* g_NetServer
extern

Global network server for the standard game.