Photon Server API Documentation v5.0RC1

Classes | Public Member Functions | Properties | List of all members
Photon.LoadBalancing.MasterServer.ApplicationStats Class Reference

Public Member Functions

 ApplicationStats (int publishIntervalMs)
 
void IncrementMasterPeerCount ()
 
void DecrementMasterPeerCount ()
 
void UpdateGameServerStats (GameServerContext gameServerContext, int peerCount, int gameCount)
 
void HandleGameServerRemoved (GameServerContext gameServerContext)
 
void AddSubscriber (MasterClientPeer peer)
 
void RemoveSubscriber (MasterClientPeer peer)
 

Properties

int GameCount [get]
 
int PeerCount [get]
 
int PeerCountGameServer [get]
 
int PeerCountMaster [get]
 

Constructor & Destructor Documentation

◆ ApplicationStats()

Photon.LoadBalancing.MasterServer.ApplicationStats.ApplicationStats ( int  publishIntervalMs)
inline

Member Function Documentation

◆ AddSubscriber()

void Photon.LoadBalancing.MasterServer.ApplicationStats.AddSubscriber ( MasterClientPeer  peer)
inline

◆ DecrementMasterPeerCount()

void Photon.LoadBalancing.MasterServer.ApplicationStats.DecrementMasterPeerCount ( )
inline

◆ HandleGameServerRemoved()

void Photon.LoadBalancing.MasterServer.ApplicationStats.HandleGameServerRemoved ( GameServerContext  gameServerContext)
inline

◆ IncrementMasterPeerCount()

void Photon.LoadBalancing.MasterServer.ApplicationStats.IncrementMasterPeerCount ( )
inline

◆ RemoveSubscriber()

void Photon.LoadBalancing.MasterServer.ApplicationStats.RemoveSubscriber ( MasterClientPeer  peer)
inline

◆ UpdateGameServerStats()

void Photon.LoadBalancing.MasterServer.ApplicationStats.UpdateGameServerStats ( GameServerContext  gameServerContext,
int  peerCount,
int  gameCount 
)
inline

Property Documentation

◆ GameCount

int Photon.LoadBalancing.MasterServer.ApplicationStats.GameCount
get

◆ PeerCount

int Photon.LoadBalancing.MasterServer.ApplicationStats.PeerCount
get

◆ PeerCountGameServer

int Photon.LoadBalancing.MasterServer.ApplicationStats.PeerCountGameServer
get

◆ PeerCountMaster

int Photon.LoadBalancing.MasterServer.ApplicationStats.PeerCountMaster
get