Public Member Functions | |
virtual void | AddGameState (GameState gameState) |
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 | OnGameJoinableChanged (GameState gameState) |
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) |
abstract ErrorCode | TryGetRandomGame (JoinRandomGameRequest joinRequest, ILobbyPeer peer, out GameState gameState, out string message) |
virtual bool | UpdateGameState (UpdateGameEvent updateOperation, IncomingGameServerPeer incomingGameServerPeer, out GameState gameState) |
Public Attributes | |
AppLobby | Lobby |
Protected Member Functions | |
GameListBase (AppLobby lobby) | |
virtual bool | RemoveGameState (GameState gameState) |
void | HandleVisibility (GameState gameState, bool oldVisible) |
GameState | GetGameState (string gameId) |
bool | GetOrAddUpdatedGameState (UpdateGameEvent updateOperation, out GameState gameState) |
Static Protected Member Functions | |
static void | LogGameState (string prefix, GameState gameState) |
Protected Attributes | |
Dictionary< string, GameState > | changedGames |
LinkedListDictionary< string, GameState > | gameDict |
HashSet< string > | removedGames |
readonly HashSet< PeerBase > | peers = new HashSet<PeerBase>() |
LinkedListNode< GameState > | nextJoinRandomStartNode |
Properties | |
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] |
|
inlineprotected |
|
inlinevirtual |
Implements Photon.LoadBalancing.MasterServer.Lobby.IGameList.
Reimplemented in Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in Photon.LoadBalancing.MasterServer.Lobby.AsyncRandomGameList.
|
inlinevirtual |
Reimplemented in Photon.LoadBalancing.MasterServer.Lobby.AsyncRandomGameList.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
inlinevirtual |
Implements Photon.LoadBalancing.MasterServer.Lobby.IGameList.
Reimplemented in Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inlinevirtual |
|
inline |
|
pure virtual |
|
inlinevirtual |
|
protected |
|
protected |
AppLobby Photon.LoadBalancing.MasterServer.Lobby.GameListBase.Lobby |
|
protected |
|
protected |
|
protected |
|
get |
|
get |
|
getprotected set |