SGameStartParams

C++
struct SGameStartParams {
  const char * hostname;
  const char * connectionString;
  const SGameContextParams * pContextParams;
  uint32 flags;
  int32 maxPlayers;
  CrySessionHandle session;
  uint16 port;
};
File

IGameFramework.h

SGameStartParams::connectionString Data Member
C++
const char * connectionString;
Description

optional connection string for client

SGameStartParams::flags Data Member
C++
uint32 flags;
Description

a combination of EGameStartFlags - needed if bServer==true

SGameStartParams::hostname Data Member
C++
const char * hostname;
Description

ip address/hostname of server to connect to - needed if bClient==true

SGameStartParams::maxPlayers Data Member
C++
int32 maxPlayers;
Description

maximum players to allow to connect

SGameStartParams::pContextParams Data Member
C++
const SGameContextParams * pContextParams;
Description

context parameters - needed if bServer==true

SGameStartParams::port Data Member
C++
uint16 port;
Description

UDP port to connect to

SGameStartParams::session Data Member
C++
CrySessionHandle session;
Description

the session handle if connecting via CryLobby

SGameStartParams::SGameStartParams Constructor
C++
SGameStartParams();