Photon Server API Documentation
v5.0RC1
Public Member Functions | |
| GameApplication (string applicationId, string version, LoadBalancer< GameServerContext > loadBalancer) | |
| virtual void | OnClientConnected (MasterClientPeer peer) |
| virtual void | OnClientDisconnected (MasterClientPeer peer) |
| bool | GetOrCreateGame (string gameId, AppLobby lobby, byte maxPlayer, GameServerContext gameServer, out GameState gameState, out ErrorCode errorCode, out string errorMsg) |
| virtual bool | TryCreateGame (string gameId, AppLobby lobby, byte maxPlayer, GameServerContext gameServer, out GameState gameState, out ErrorCode errorCode, out string errorMsg) |
| bool | TryGetGame (string gameId, out GameState gameState) |
| void | OnGameUpdateOnGameServer (UpdateGameEvent updateGameEvent, GameServerContext gameServer) |
| void | OnGameRemovedOnGameServer (GameServerContext context, string gameId, byte removeReason) |
| bool | RemoveGameByName (string gameId) |
| virtual void | OnGameServerRemoved (GameServerContext gameServerContext) |
| void | Dispose () |
| virtual void | OnBeginReplication (GameServerContext gameServerContext) |
| virtual void | OnFinishReplication (GameServerContext gameServerContext) |
| virtual void | OnStopReplication (GameServerContext gameServerContext) |
| virtual void | OnSendChangedGameList (Hashtable gameList) |
| virtual void | OnSendGameList (Hashtable gameList) |
| virtual void | IncrementLobbiesCount () |
| virtual void | DecrementLobbiesCount () |
| void | AddToExcludedActors (string userId) |
| void | RemoveFromExcludedActors (string userId) |
| bool | IsActorExcluded (string userId) |
Public Attributes | |
| readonly string | ApplicationId |
| readonly string | Version |
| readonly LoadBalancer< GameServerContext > | LoadBalancer |
| readonly PlayerCache | PlayerOnlineCache |
Protected Member Functions | |
| GameApplication (PoolFiber fiber, PoolFiber playerCacheFiber, string applicationId, string version, LoadBalancer< GameServerContext > loadBalancer) | |
| virtual void | Dispose (bool dispose) |
Protected Attributes | |
| readonly PoolFiber | fiber |
Properties | |
| LobbyFactory | LobbyFactory [get, protected set] |
| LobbyStatsPublisher | LobbyStatsPublisher [get, protected set] |
| PluginTraits | PluginTraits [get, protected set] |
| int | LobbiesCount [get] |
| int | GamesCount [get] |
| LogCountGuard | WrongJoinActivityGuard = new LogCountGuard(new TimeSpan(1, 0, 0)) [get] |
|
inline |
|
inlineprotected |
|
inline |
|
inlinevirtual |
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
| readonly string Photon.LoadBalancing.MasterServer.GameApplication.ApplicationId |
|
protected |
| readonly LoadBalancer<GameServerContext> Photon.LoadBalancing.MasterServer.GameApplication.LoadBalancer |
| readonly PlayerCache Photon.LoadBalancing.MasterServer.GameApplication.PlayerOnlineCache |
| readonly string Photon.LoadBalancing.MasterServer.GameApplication.Version |
|
get |
|
get |
|
getprotected set |
|
getprotected set |
|
getprotected set |
|
get |