Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
NetClient.h File Reference
#include "lib/code_annotation.h"
#include "lib/config2.h"
#include "lib/external_libraries/enet.h"
#include "network/FSM.h"
#include "network/NetHost.h"
#include "network/NetMessage.h"
#include "ps/CStr.h"
#include "scriptinterface/Object.h"
#include "scriptinterface/Request.h"
#include "scriptinterface/StructuredClone.h"
#include <ctime>
#include <deque>
#include <js/RootingAPI.h>
#include <js/TypeDecls.h>
#include <js/Value.h>
#include <optional>
#include <string>
#include <thread>
#include <vector>
Include dependency graph for NetClient.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CNetClient
 Network client. More...
 
struct  CNetClient::PrivateTag
 
struct  CNetClient::GuiPollData
 

Namespaces

namespace  Script
 Abstraction around a SpiderMonkey JSContext.
 

Typedefs

typedef struct _ENetHost ENetHost
 

Enumerations

enum  {
  NCS_UNCONNECTED , NCS_CONNECT , NCS_HANDSHAKE , NCS_AUTHENTICATE ,
  NCS_PREGAME , NCS_LOADING , NCS_JOIN_SYNCING , NCS_INGAME
}
 

Variables

CNetClient * g_NetClient
 Global network client for the standard game. More...
 

Typedef Documentation

◆ ENetHost

typedef struct _ENetHost ENetHost

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NCS_UNCONNECTED 
NCS_CONNECT 
NCS_HANDSHAKE 
NCS_AUTHENTICATE 
NCS_PREGAME 
NCS_LOADING 
NCS_JOIN_SYNCING 
NCS_INGAME 

Variable Documentation

◆ g_NetClient

CNetClient* g_NetClient
extern

Global network client for the standard game.