> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lobby.ServerPostUpdate

> Lobby.ServerPostUpdate

# Lobby.ServerPostUpdate メソッド

サーバー オーナーとしてロビーに更新をポストします。

```csharp theme={null}
public void ServerPostUpdate(LobbyDataUpdate lobbyUpdate)
```

| パラメーター      | 説明                             |
| ----------- | ------------------------------ |
| lobbyUpdate | サーバー オーナーに代わってロビーの共有部分に適用する更新。 |

## 注釈

これは非同期操作です。正常に完了すると、タイトルには `OnServerLobbyPostUpdateCompleted result` フィールドが [`Success`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyError/Success) に設定された [`OnServerLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer.PlayFabMultiplayerServer/OnServerLobbyPostUpdateCompleted) が提供されます。失敗した場合、タイトルには `OnServerLobbyPostUpdateCompleted result` フィールドが失敗を示すエラー コードに設定された [`OnServerLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer.PlayFabMultiplayerServer/OnServerLobbyPostUpdateCompleted) が提供されます。更新の適用によりロビーの状態が変化する場合、タイトルにはその後、[`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) が提供されます。

この操作が正常に完了しても、それは Lobby サービスが更新を受け付けたことを示すに過ぎません。タイトルのロビー状態のローカル ビューは、更新された状態を含む [`OnLobbyPostUpdateCompleted`](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer/OnLobbyPostUpdateCompleted) がタイトルに提供されるまで、この更新を反映しません。

このメソッドは統一されたクロスプラットフォーム ヘッダーに含まれていますが、Windows および XBOX でのみ実装されています。それ以外のプラットフォームでは、このメソッドはエラーを返します。

## 関連項目

* class [LobbyDataUpdate](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyDataUpdate/overview)
* class [Lobby](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/overview)
* namespace [PlayFab.Multiplayer](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference)


## Related topics

- [PlayFabMultiplayerServer.OnServerLobbyPostUpdateCompleted](/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PlayFabMultiplayer.PlayFabMultiplayerServer/OnServerLobbyPostUpdateCompleted.md)
- [Lobby.PostUpdateAsServer](/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/PostUpdateAsServer.md)
- [PFLobbyServerPostUpdateAsServer](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyserverpostupdateasserver.md)
- [PFLobbyServerPostUpdate](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyserverpostupdate.md)
- [PFLobbyPostUpdate](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbypostupdate.md)
