Lobby.PostUpdateAsServer method
Post an update to a client-owned lobby as a joined server.Remarks
This is an asynchronous operation. Upon successful completion, the title is provided a PlayFabMultiplayer.PlayFabMultiplayerServer.OnServerPostUpdateAsServerCompleted with theOnServerPostUpdateAsServerCompleted result field set to Success. Upon a failed completion, the title is provided a PlayFabMultiplayer.PlayFabMultiplayerServer.OnServerPostUpdateAsServerCompleted with the OnServerPostUpdateAsServerCompleted result field set to a failed error code. If applying the update would change the state of the lobby, the title is provided a OnLobbyUpdated sometime afterwards.
This operation completing successfully only indicates that the Lobby service accepted the update. The title’s local view of the lobby state doesn’t reflect this update until a OnLobbyUpdated is provided to the title with the updated state.
This operation is restricted to client-owned lobbies that are using connections.
While this method is present in the unified, cross-platform header, it only implemented for Windows and, XBOX. The method returns errors on other platforms.
See Also
- class LobbyServerDataUpdate
- class Lobby
- namespace PlayFab.Multiplayer
