Nuclide
Software Development Kit for id Technology (BETA)
ncUserInfoManager Class Reference

About this class

A cache/manager for userinfo on the client.

You can talk to it for fast retrieval of player 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-server analog to this is ncServerInfoManager.

Public Member Functions

void ncUserInfoManager (void)
 
nonvirtual void InitWithSlots (int maxUserSlots)
 
nonvirtual void Shutdown (void)
 
nonvirtual void UpdateRanking (void)
 
nonvirtual void UpdateCachedSlot (int cachedSlot)
 
nonvirtual int NumSlots (void)
 
nonvirtual void DebugPrint (void)
 
nonvirtual ncUserInfo InfoByIndex (int targetIndex)
 
nonvirtual ncUserInfo InfoByRanking (int rankingIndex)
 
nonvirtual ncUserInfo LocalPlayerInfo (void)
 

Constructor & Destructor Documentation

◆ ncUserInfoManager()

void ncUserInfoManager::ncUserInfoManager ( void  )

Member Function Documentation

◆ DebugPrint()

void ncUserInfoManager::DebugPrint ( void  )

◆ InfoByIndex()

ncUserInfo ncUserInfoManager::InfoByIndex ( int  targetIndex)

◆ InfoByRanking()

ncUserInfo ncUserInfoManager::InfoByRanking ( int  rankingIndex)

◆ InitWithSlots()

void ncUserInfoManager::InitWithSlots ( int  maxUserSlots)

◆ LocalPlayerInfo()

ncUserInfo ncUserInfoManager::LocalPlayerInfo ( void  )

◆ NumSlots()

int ncUserInfoManager::NumSlots ( void  )

◆ Shutdown()

void ncUserInfoManager::Shutdown ( void  )

◆ UpdateCachedSlot()

void ncUserInfoManager::UpdateCachedSlot ( int  cachedSlot)

◆ UpdateRanking()

void ncUserInfoManager::UpdateRanking ( void  )

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