Photon Server API Documentation
v5.0RC1
Public Member Functions | |
| MasterServerConnection (GameApplication controller, string address, int port, int connectRetryIntervalSeconds) | |
| void | RemoveGameState (string gameId, byte closeReason) |
| override void | UpdateAllGameStates () |
| void | SendLeaveEventAndWaitForResponse (int timeout) |
Public Member Functions inherited from Photon.LoadBalancing.GameServer.MasterServerConnectionBase | |
| OutgoingMasterServerPeer | GetPeer () |
| void | Initialize () |
| SendResult | SendEventIfRegistered (IEventData eventData, SendParameters sendParameters) |
| SendResult | SendEvent (IEventData eventData, SendParameters sendParameters) |
| void | ConnectToMaster (IPEndPoint endPoint) |
| virtual void | OnConnectionEstablished () |
| virtual void | OnConnectionFailed (int errorCode, string errorMessage) |
| virtual void | OnDisconnect (int reasonCode, string reasonDetail) |
| void | Dispose () |
| void | OnRegisteredAtMaster (RegisterGameServerResponse registerResponse) |
Protected Member Functions | |
| void | SendReplicationHelperEvent (int gamesCount) |
| override OutgoingMasterServerPeer | CreateServerPeer () |
Protected Member Functions inherited from Photon.LoadBalancing.GameServer.MasterServerConnectionBase | |
| MasterServerConnectionBase (GameApplication controller, string address, int port, int connectRetryIntervalSeconds) | |
| virtual void | ReconnectToMaster () |
Static Protected Member Functions | |
| static void | InitiateGamesReplication (RoomCacheBase gameCache, string appId, out int gamesCount) |
Additional Inherited Members | |
Protected Attributes inherited from Photon.LoadBalancing.GameServer.MasterServerConnectionBase | |
| readonly string | ConnectionId = Guid.NewGuid().ToString() |
Properties inherited from Photon.LoadBalancing.GameServer.MasterServerConnectionBase | |
| GameApplication | Application [get] |
| string | Address [get] |
| IPEndPoint | EndPoint [get] |
| int | Port [get] |
| bool | IsReconnecting [get] |
| string | Name [get] |
|
inline |
|
inlineprotectedvirtual |
|
inlinestaticprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inlinevirtual |
Reimplemented from Photon.LoadBalancing.GameServer.MasterServerConnectionBase.