Leviathan  0.8.0.0
Leviathan game engine
Leviathan::MasterServerInformation Struct Reference

#include <MasterServerInfo.h>

Public Member Functions

 MasterServerInformation (bool iammaster, const std::string &identificationstr)
 
 MasterServerInformation ()
 
 MasterServerInformation (const std::string &masterslistfile, const std::string &identification, const std::string &masterserverlistaddress, const std::string &masterserverlistpagename, const std::string &loginsession, bool requireconnection=false)
 

Public Attributes

std::string MasterListFetchServer
 
std::string MasterListFetchPage
 
std::string StoredListFile
 
std::string MasterServerIdentificationString
 
std::string LoginStoreFile
 
bool RequireMaster
 
bool IAmMyOwnMaster
 

Detailed Description

Definition at line 9 of file MasterServerInfo.h.

Constructor & Destructor Documentation

◆ MasterServerInformation() [1/3]

Leviathan::MasterServerInformation::MasterServerInformation ( bool  iammaster,
const std::string &  identificationstr 
)
inline

Definition at line 10 of file MasterServerInfo.h.

10  :
11  MasterServerIdentificationString(identificationstr), RequireMaster(false),
12  IAmMyOwnMaster(true)
13  {
14 
15  }

◆ MasterServerInformation() [2/3]

Leviathan::MasterServerInformation::MasterServerInformation ( )
inline

◆ MasterServerInformation() [3/3]

Leviathan::MasterServerInformation::MasterServerInformation ( const std::string &  masterslistfile,
const std::string &  identification,
const std::string &  masterserverlistaddress,
const std::string &  masterserverlistpagename,
const std::string &  loginsession,
bool  requireconnection = false 
)
inline

Definition at line 18 of file MasterServerInfo.h.

22  :
23  MasterListFetchServer(masterserverlistaddress),
24  MasterListFetchPage(masterserverlistpagename),
25  StoredListFile(masterslistfile), MasterServerIdentificationString(identification),
26  LoginStoreFile(loginsession), RequireMaster(requireconnection), IAmMyOwnMaster(false)
27  {
28 
29  }

Member Data Documentation

◆ IAmMyOwnMaster

bool Leviathan::MasterServerInformation::IAmMyOwnMaster

Definition at line 38 of file MasterServerInfo.h.

◆ LoginStoreFile

std::string Leviathan::MasterServerInformation::LoginStoreFile

Definition at line 36 of file MasterServerInfo.h.

◆ MasterListFetchPage

std::string Leviathan::MasterServerInformation::MasterListFetchPage

Definition at line 33 of file MasterServerInfo.h.

◆ MasterListFetchServer

std::string Leviathan::MasterServerInformation::MasterListFetchServer

Definition at line 32 of file MasterServerInfo.h.

◆ MasterServerIdentificationString

std::string Leviathan::MasterServerInformation::MasterServerIdentificationString

Definition at line 35 of file MasterServerInfo.h.

◆ RequireMaster

bool Leviathan::MasterServerInformation::RequireMaster

Definition at line 37 of file MasterServerInfo.h.

◆ StoredListFile

std::string Leviathan::MasterServerInformation::StoredListFile

Definition at line 34 of file MasterServerInfo.h.


The documentation for this struct was generated from the following file: