Photon Server API Documentation
v5.0RC1
Public Member Functions | |
| virtual void | AddGameState (GameState gameState, Dictionary< string, object > authCookie=null) |
| int | CheckJoinTimeOuts (TimeSpan timeOut) |
| int | CheckJoinTimeOuts (DateTime minDateTime) |
| bool | ContainsGameId (string gameId) |
| virtual void | OnPlayerCountChanged (GameState gameState, int oldPlayerCount) |
| virtual void | OnGameJoinableChanged (GameState gameState) |
| void | SetExpectReplicationFlag (bool flag, GameServerContext gameServerContext) |
| void | RemoveNotReplicatedGames (GameServerContext gameServerContext) |
| virtual void | UpdateLobbyLimits (bool gameListUseLegacyLobbies, int? gameListLimit, int? gameListLimitUpdates, int? gameListLimitSqlFilterResults) |
| virtual void | PublishGameChanges () |
| virtual IGameListSubscription | AddSubscription (MasterClientPeer peer, Hashtable gamePropertyFilter, int maxGameCount) |
| void | RemoveGameServer (GameServerContext gameServer) |
| bool | RemoveGameStateByName (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, GameServerContext incomingGameServer, out GameState gameState) |
Public Attributes | |
| readonly AppLobby | Lobby |
Protected Member Functions | |
| GameListBase (AppLobby lobby) | |
| virtual Hashtable | GetAllGames (int maxCount) |
| virtual Hashtable | GetChangedGames () |
| virtual void | HandleVisibility (GameState gameState, bool oldVisible) |
| virtual bool | RemoveGameState (GameState gameState) |
Static Protected Member Functions | |
| static void | LogGameState (string prefix, GameState gameState) |
| static bool | IsGameJoinable (JoinRandomGameRequest joinRequest, ILobbyPeer peer, GameState gameState) |
Protected Attributes | |
| readonly Dictionary< string, GameState > | changedGames |
| readonly LinkedListDictionary< string, GameState > | gameDict |
| readonly 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 |
Implements Photon.LoadBalancing.MasterServer.Lobby.IGameList.
Reimplemented in Photon.LoadBalancing.MasterServer.Lobby.LimitedGameList, Photon.LoadBalancing.MasterServer.ChannelLobby.GameChannelList, Photon.LoadBalancing.MasterServer.Lobby.SqlFilterGameList, and Photon.LoadBalancing.MasterServer.Lobby.AsyncRandomGameList.
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinevirtual |
Implements Photon.LoadBalancing.MasterServer.Lobby.IGameList.
Reimplemented in Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.
|
inlinevirtual |
|
inlinevirtual |
Implements Photon.LoadBalancing.MasterServer.Lobby.IGameList.
Reimplemented in Photon.LoadBalancing.MasterServer.Lobby.LimitedGameList, Photon.LoadBalancing.MasterServer.ChannelLobby.GameChannelList, Photon.LoadBalancing.MasterServer.Lobby.SqlFilterGameList, and Photon.LoadBalancing.MasterServer.Lobby.AsyncRandomGameList.
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
|
inlinevirtual |
Implements Photon.LoadBalancing.MasterServer.Lobby.IGameList.
Reimplemented in Photon.LoadBalancing.MasterServer.Lobby.SqlGameList.
|
inlinevirtual |
|
protected |
|
protected |
| readonly AppLobby Photon.LoadBalancing.MasterServer.Lobby.GameListBase.Lobby |
|
protected |
|
protected |
|
protected |
|
get |
|
get |
|
getprotected set |