Photon Server API Documentation v5.0RC1

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

Classes

class  SessionInfo
 

Public Member Functions

 PlayerState (string playerId)
 
void RemoveGame (GameState gameState)
 
int AddUserSessionInfo (GameState gameState, ILobbyPeer peer)
 

Public Attributes

readonly string PlayerId
 

Properties

bool IsConnectedToMaster [get, set]
 
GameState ActiveGame [get, set]
 

Constructor & Destructor Documentation

◆ PlayerState()

Photon.LoadBalancing.MasterServer.PlayerState.PlayerState ( string  playerId)
inline

Member Function Documentation

◆ AddUserSessionInfo()

int Photon.LoadBalancing.MasterServer.PlayerState.AddUserSessionInfo ( GameState  gameState,
ILobbyPeer  peer 
)
inline

◆ RemoveGame()

void Photon.LoadBalancing.MasterServer.PlayerState.RemoveGame ( GameState  gameState)
inline

Member Data Documentation

◆ PlayerId

readonly string Photon.LoadBalancing.MasterServer.PlayerState.PlayerId

Property Documentation

◆ ActiveGame

GameState Photon.LoadBalancing.MasterServer.PlayerState.ActiveGame
getset

◆ IsConnectedToMaster

bool Photon.LoadBalancing.MasterServer.PlayerState.IsConnectedToMaster
getset