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

◆ AddGameState()

void Photon.LoadBalancing.MasterServer.Lobby.IGameList.AddGameState ( GameState  gameState)

◆ AddSubscription()

IGameListSubscription Photon.LoadBalancing.MasterServer.Lobby.IGameList.AddSubscription ( PeerBase  peer,
Hashtable  gamePropertyFilter,
int  maxGameCount 
)

◆ CheckJoinTimeOuts() [1/2]

int Photon.LoadBalancing.MasterServer.Lobby.IGameList.CheckJoinTimeOuts ( DateTime  minDateTime)

◆ CheckJoinTimeOuts() [2/2]

int Photon.LoadBalancing.MasterServer.Lobby.IGameList.CheckJoinTimeOuts ( TimeSpan  timeOut)

◆ ContainsGameId()

bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.ContainsGameId ( string  gameId)

◆ OnGameJoinableChanged()

void Photon.LoadBalancing.MasterServer.Lobby.IGameList.OnGameJoinableChanged ( GameState  gameState)

◆ OnPlayerCountChanged()

void Photon.LoadBalancing.MasterServer.Lobby.IGameList.OnPlayerCountChanged ( GameState  gameState,
int  oldPlayerCount 
)

◆ PublishGameChanges()

void Photon.LoadBalancing.MasterServer.Lobby.IGameList.PublishGameChanges ( )

◆ RemoveGameServer()

void Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveGameServer ( IncomingGameServerPeer  gameServer)

◆ RemoveGameState()

bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveGameState ( string  gameId)

◆ RemoveSubscription()

void Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveSubscription ( PeerBase  peer)

◆ TryGetGame()

bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.TryGetGame ( string  gameId,
out GameState  gameState 
)

◆ TryGetRandomGame()

ErrorCode Photon.LoadBalancing.MasterServer.Lobby.IGameList.TryGetRandomGame ( JoinRandomGameRequest  joinRequest,
ILobbyPeer  peer,
out GameState  gameState,
out string  message 
)

◆ UpdateGameState()

bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.UpdateGameState ( UpdateGameEvent  updateOperation,
IncomingGameServerPeer  gameServerPeer,
out GameState  gameState 
)

Property Documentation

◆ Count

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

◆ PlayerCount

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