Photon Server API
Public Member Functions | Properties | List of all members
Photon.LoadBalancing.MasterServer.Lobby.IGameList Interface Reference
Inheritance diagram for Photon.LoadBalancing.MasterServer.Lobby.IGameList:
Photon.LoadBalancing.MasterServer.Lobby.GameListBase Photon.LoadBalancing.MasterServer.ChannelLobby.GameChannelList Photon.LoadBalancing.MasterServer.Lobby.GameList Photon.LoadBalancing.MasterServer.Lobby.SqlGameList Photon.LoadBalancing.MasterServer.Lobby.AsyncRandomGameList

Public Member Functions

void AddGameState (GameState gameState)
 
int CheckJoinTimeOuts (TimeSpan timeOut)
 
int CheckJoinTimeOuts (DateTime minDateTime)
 
bool ContainsGameId (string gameId)
 
IGameListSubscription AddSubscription (PeerBase peer, Hashtable gamePropertyFilter, int maxGameCount)
 
void RemoveSubscription (PeerBase peer)
 
void RemoveGameServer (IncomingGameServerPeer gameServer)
 
bool RemoveGameState (string gameId)
 
bool TryGetGame (string gameId, out GameState gameState)
 
ErrorCode TryGetRandomGame (JoinRandomGameRequest joinRequest, ILobbyPeer peer, out GameState gameState, out string message)
 
bool UpdateGameState (UpdateGameEvent updateOperation, IncomingGameServerPeer gameServerPeer, out GameState gameState)
 
void PublishGameChanges ()
 
void OnPlayerCountChanged (GameState gameState, int oldPlayerCount)
 
void OnGameJoinableChanged (GameState gameState)
 

Properties

int Count [get]
 
int PlayerCount [get]
 

Member Function Documentation

void Photon.LoadBalancing.MasterServer.Lobby.IGameList.AddGameState ( GameState  gameState)
IGameListSubscription Photon.LoadBalancing.MasterServer.Lobby.IGameList.AddSubscription ( PeerBase  peer,
Hashtable  gamePropertyFilter,
int  maxGameCount 
)
int Photon.LoadBalancing.MasterServer.Lobby.IGameList.CheckJoinTimeOuts ( TimeSpan  timeOut)
int Photon.LoadBalancing.MasterServer.Lobby.IGameList.CheckJoinTimeOuts ( DateTime  minDateTime)
bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.ContainsGameId ( string  gameId)
void Photon.LoadBalancing.MasterServer.Lobby.IGameList.OnGameJoinableChanged ( GameState  gameState)
void Photon.LoadBalancing.MasterServer.Lobby.IGameList.OnPlayerCountChanged ( GameState  gameState,
int  oldPlayerCount 
)
void Photon.LoadBalancing.MasterServer.Lobby.IGameList.PublishGameChanges ( )
void Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveGameServer ( IncomingGameServerPeer  gameServer)
bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveGameState ( string  gameId)
void Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveSubscription ( PeerBase  peer)
bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.TryGetGame ( string  gameId,
out GameState  gameState 
)
ErrorCode Photon.LoadBalancing.MasterServer.Lobby.IGameList.TryGetRandomGame ( JoinRandomGameRequest  joinRequest,
ILobbyPeer  peer,
out GameState  gameState,
out string  message 
)
bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.UpdateGameState ( UpdateGameEvent  updateOperation,
IncomingGameServerPeer  gameServerPeer,
out GameState  gameState 
)

Property Documentation

int Photon.LoadBalancing.MasterServer.Lobby.IGameList.Count
get
int Photon.LoadBalancing.MasterServer.Lobby.IGameList.PlayerCount
get