> ## 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.

# PFLobbyServerPostUpdateAsServerCompletedStateChange

> ServerPostUpdateAsServerCompleted PlayFab 多人游戏状态变更详细信息，在服务器对客户端拥有的大厅的更新完成处理时引发。

*ServerPostUpdateAsServerCompleted* 类型状态变更的特定信息。

## 语法

```cpp theme={null}
struct PFLobbyServerPostUpdateAsServerCompletedStateChange : PFLobbyStateChange {  
    HRESULT result;  
    PFLobbyHandle lobby;  
    void* asyncContext;  
}  
```

### 成员

**`result`**   HRESULT

指示更新操作的结果。

可以通过 [PFMultiplayerGetErrorMessage()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/functions/pfmultiplayergeterrormessage) 获取此结果的人类可读形式。

**`lobby`**   PFLobbyHandle\
*must not be null*

提供给与此状态变更相关联的调用的大厅。

**`asyncContext`**   void\*

提供给与此状态变更相关联的调用的异步上下文。

## 备注

若要使用此功能，必须在包含 PFLobby.h 之前定义 PFMULTIPLAYER\_INCLUDE\_SERVER\_APIS。

## 要求

**头文件：** PFLobby.h

## 另请参阅

[PFLobby 成员](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)


## Related topics

- [PFLobbyServerPostUpdateAsServer](/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyserverpostupdateasserver.md)
- [PFMultiplayer C/C++ API 概览 - PFLobby.h](/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
- [PFLobbyStateChangeType](/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/enums/pflobbystatechangetype.md)
- [PFLobbyServerPostUpdateCompletedStateChange](/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/structs/pflobbyserverpostupdatecompletedstatechange.md)
- [PFLobbyServerPostUpdate](/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyserverpostupdate.md)
