Photon Server API
Public Member Functions | Protected Member Functions | List of all members
Photon.LoadBalancing.MasterServer.Lobby.SqlGameList Class Reference
Inheritance diagram for Photon.LoadBalancing.MasterServer.Lobby.SqlGameList:
Photon.LoadBalancing.MasterServer.Lobby.GameListBase Photon.LoadBalancing.MasterServer.Lobby.IGameList

Public Member Functions

 SqlGameList (AppLobby lobby)
 
override void AddGameState (GameState gameState)
 
override ErrorCode TryGetRandomGame (JoinRandomGameRequest joinRequest, ILobbyPeer peer, out GameState gameState, out string message)
 
override void OnGameJoinableChanged (GameState gameState)
 
override bool UpdateGameState (UpdateGameEvent updateOperation, IncomingGameServerPeer incomingGameServerPeer, out GameState gameState)
 
- Public Member Functions inherited from Photon.LoadBalancing.MasterServer.Lobby.GameListBase
int CheckJoinTimeOuts (int timeOutSeconds)
 
int CheckJoinTimeOuts (TimeSpan timeOut)
 
int CheckJoinTimeOuts (DateTime minDateTime)
 
bool ContainsGameId (string gameId)
 
virtual Hashtable GetAllGames (int maxCount)
 
virtual void OnPlayerCountChanged (GameState gameState, int oldPlayerCount)
 
virtual void PublishGameChanges ()
 
virtual Hashtable GetChangedGames ()
 
virtual IGameListSubscription AddSubscription (PeerBase peer, Hashtable gamePropertyFilter, int maxGameCount)
 
virtual void RemoveSubscription (PeerBase peer)
 
void RemoveGameServer (IncomingGameServerPeer gameServer)
 
bool RemoveGameState (string gameId)
 
bool TryGetGame (string gameId, out GameState gameState)
 

Protected Member Functions

override bool RemoveGameState (GameState gameState)
 
- Protected Member Functions inherited from Photon.LoadBalancing.MasterServer.Lobby.GameListBase
 GameListBase (AppLobby lobby)
 
void HandleVisibility (GameState gameState, bool oldVisible)
 
GameState GetGameState (string gameId)
 
bool GetOrAddUpdatedGameState (UpdateGameEvent updateOperation, out GameState gameState)
 

Additional Inherited Members

- Public Attributes inherited from Photon.LoadBalancing.MasterServer.Lobby.GameListBase
AppLobby Lobby
 
- Static Protected Member Functions inherited from Photon.LoadBalancing.MasterServer.Lobby.GameListBase
static void LogGameState (string prefix, GameState gameState)
 
- Protected Attributes inherited from Photon.LoadBalancing.MasterServer.Lobby.GameListBase
Dictionary< string, GameStatechangedGames
 
LinkedListDictionary< string, GameStategameDict
 
HashSet< string > removedGames
 
readonly HashSet< PeerBasepeers = new HashSet<PeerBase>()
 
LinkedListNode< GameStatenextJoinRandomStartNode
 
- Properties inherited from Photon.LoadBalancing.MasterServer.Lobby.GameListBase
int ChangedGamesCount [get]
 
int Count [get]
 
int PlayerCount [get, protected set]
 
- Properties inherited from Photon.LoadBalancing.MasterServer.Lobby.IGameList
int Count [get]
 
int PlayerCount [get]
 

Constructor & Destructor Documentation

Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.SqlGameList ( AppLobby  lobby)
inline

Member Function Documentation

override void Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.AddGameState ( GameState  gameState)
inlinevirtual
override void Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.OnGameJoinableChanged ( GameState  gameState)
inlinevirtual
override bool Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.RemoveGameState ( GameState  gameState)
inlineprotectedvirtual
override ErrorCode Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.TryGetRandomGame ( JoinRandomGameRequest  joinRequest,
ILobbyPeer  peer,
out GameState  gameState,
out string  message 
)
inlinevirtual
override bool Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.UpdateGameState ( UpdateGameEvent  updateOperation,
IncomingGameServerPeer  incomingGameServerPeer,
out GameState  gameState 
)
inlinevirtual