struct SGameStartParams { const char * hostname; const char * connectionString; const SGameContextParams * pContextParams; uint32 flags; int32 maxPlayers; CrySessionHandle session; uint16 port; };
IGameFramework.h
const char * connectionString;
optional connection string for client
uint32 flags;
a combination of EGameStartFlags - needed if bServer==true
const char * hostname;
ip address/hostname of server to connect to - needed if bClient==true
int32 maxPlayers;
maximum players to allow to connect
const SGameContextParams * pContextParams;
context parameters - needed if bServer==true
uint16 port;
UDP port to connect to
CrySessionHandle session;
the session handle if connecting via CryLobby
SGameStartParams();