Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches
ncServerInfoManager Class Reference

About this class

A cache/manager for serverinfo on the client.

You can talk to it for fast retrieval of server specific information that is common to multiplayer games. It will offer string return values in certain cases too that are cached so no conversion would have to be done per-frame. Everything returned here should be fast!

The per-player analog to this is ncUserInfoManager.

Public Member Functions

void ncServerInfoManager (void)
 
nonvirtual void Init (void)
 
nonvirtual void Shutdown (void)
 
nonvirtual void UpdateCache (void)
 
nonvirtual string HostName (void)
 
nonvirtual string HostAddress (void)
 
nonvirtual string MapName (void)
 
nonvirtual int MaxClients (void)
 
nonvirtual int MaxPlayers (void)
 
nonvirtual int MaxSpectators (void)
 
nonvirtual string MaxClientsString (void)
 
nonvirtual string MaxPlayersString (void)
 
nonvirtual string MaxSpectatorsString (void)
 

Constructor & Destructor Documentation

◆ ncServerInfoManager()

void ncServerInfoManager::ncServerInfoManager ( void )

Member Function Documentation

◆ HostAddress()

string ncServerInfoManager::HostAddress ( void )

◆ HostName()

string ncServerInfoManager::HostName ( void )

◆ Init()

void ncServerInfoManager::Init ( void )

◆ MapName()

string ncServerInfoManager::MapName ( void )

◆ MaxClients()

int ncServerInfoManager::MaxClients ( void )

◆ MaxClientsString()

string ncServerInfoManager::MaxClientsString ( void )

◆ MaxPlayers()

int ncServerInfoManager::MaxPlayers ( void )

◆ MaxPlayersString()

string ncServerInfoManager::MaxPlayersString ( void )

◆ MaxSpectators()

int ncServerInfoManager::MaxSpectators ( void )

◆ MaxSpectatorsString()

string ncServerInfoManager::MaxSpectatorsString ( void )

◆ Shutdown()

void ncServerInfoManager::Shutdown ( void )

◆ UpdateCache()

void ncServerInfoManager::UpdateCache ( void )

The documentation for this class was generated from the following files: