Photon Server API Documentation
v5.0RC1
Public Member Functions | |
| void | AddGameState (GameState gameState, Dictionary< string, object > authCookie=null) |
| int | CheckJoinTimeOuts (TimeSpan timeOut) |
| int | CheckJoinTimeOuts (DateTime minDateTime) |
| bool | ContainsGameId (string gameId) |
| IGameListSubscription | AddSubscription (MasterClientPeer peer, Hashtable gamePropertyFilter, int maxGameCount) |
| void | RemoveGameServer (GameServerContext gameServer) |
| bool | RemoveGameStateByName (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, GameServerContext gameServer, out GameState gameState) |
| void | PublishGameChanges () |
| void | OnPlayerCountChanged (GameState gameState, int oldPlayerCount) |
| void | OnGameJoinableChanged (GameState gameState) |
| void | SetExpectReplicationFlag (bool serverContext, GameServerContext gameServerContext) |
| void | RemoveNotReplicatedGames (GameServerContext gameServerContext) |
| void | UpdateLobbyLimits (bool gameListUseLegacyLobbies, int? gameListLimit, int? gameListLimitUpdates, int? gameListLimitSqlFilterResults) |
Properties | |
| int | Count [get] |
| int | PlayerCount [get] |
| void Photon.LoadBalancing.MasterServer.Lobby.IGameList.AddGameState | ( | GameState | gameState, |
| Dictionary< string, object > | authCookie = null |
||
| ) |
| IGameListSubscription Photon.LoadBalancing.MasterServer.Lobby.IGameList.AddSubscription | ( | MasterClientPeer | peer, |
| Hashtable | gamePropertyFilter, | ||
| int | maxGameCount | ||
| ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.LimitedGameList, Photon.LoadBalancing.MasterServer.Lobby.GameListBase, Photon.LoadBalancing.MasterServer.ChannelLobby.GameChannelList, Photon.LoadBalancing.MasterServer.Lobby.SqlFilterGameList, and Photon.LoadBalancing.MasterServer.Lobby.AsyncRandomGameList.
| int Photon.LoadBalancing.MasterServer.Lobby.IGameList.CheckJoinTimeOuts | ( | DateTime | minDateTime | ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| int Photon.LoadBalancing.MasterServer.Lobby.IGameList.CheckJoinTimeOuts | ( | TimeSpan | timeOut | ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.ContainsGameId | ( | string | gameId | ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| void Photon.LoadBalancing.MasterServer.Lobby.IGameList.OnGameJoinableChanged | ( | GameState | gameState | ) |
| void Photon.LoadBalancing.MasterServer.Lobby.IGameList.OnPlayerCountChanged | ( | GameState | gameState, |
| int | oldPlayerCount | ||
| ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| void Photon.LoadBalancing.MasterServer.Lobby.IGameList.PublishGameChanges | ( | ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.LimitedGameList, Photon.LoadBalancing.MasterServer.Lobby.GameListBase, Photon.LoadBalancing.MasterServer.ChannelLobby.GameChannelList, Photon.LoadBalancing.MasterServer.Lobby.SqlFilterGameList, and Photon.LoadBalancing.MasterServer.Lobby.AsyncRandomGameList.
| void Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveGameServer | ( | GameServerContext | gameServer | ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveGameStateByName | ( | string | gameId | ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| void Photon.LoadBalancing.MasterServer.Lobby.IGameList.RemoveNotReplicatedGames | ( | GameServerContext | gameServerContext | ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| void Photon.LoadBalancing.MasterServer.Lobby.IGameList.SetExpectReplicationFlag | ( | bool | serverContext, |
| GameServerContext | gameServerContext | ||
| ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| bool Photon.LoadBalancing.MasterServer.Lobby.IGameList.TryGetGame | ( | string | gameId, |
| out GameState | gameState | ||
| ) |
Implemented in Photon.LoadBalancing.MasterServer.Lobby.GameListBase.
| 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, |
| GameServerContext | gameServer, | ||
| out GameState | gameState | ||
| ) |
| void Photon.LoadBalancing.MasterServer.Lobby.IGameList.UpdateLobbyLimits | ( | bool | gameListUseLegacyLobbies, |
| int? | gameListLimit, | ||
| int? | gameListLimitUpdates, | ||
| int? | gameListLimitSqlFilterResults | ||
| ) |
|
get |
|
get |