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

# client_network_created

> client_network_created event.

创建客户端网络时触发此事件。

## 属性

| 名称                            | 类型     | 描述                                             |
| :---------------------------- | :----- | :--------------------------------------------- |
| ClientInstanceId              | String | 由客户端生成的、此 Party 库实例的全局唯一标识符。                   |
| NetworkIdentifier             | String | 网络的唯一标识符。                                      |
| RegionName                    | String | 与新创建网络关联的区域名称。如果创建失败，则为空。                      |
| ServerId                      | String | 来自 PlayFab RequestPartyResponse 的 ServerId 字段。 |
| VmId                          | String | 来自 PlayFab RequestPartyResponse 的 VmId 字段。     |
| DurationInMs                  | uint32 | 此请求的持续时间（以毫秒为单位）。                              |
| Result                        | int32  | 操作的 PartyStateChangeResult。                    |
| ResultMessage                 | String | Result 值的人类可读表示形式。                             |
| ErrorDetail                   | uint32 | PartyError 错误详细信息代码。                           |
| RegionCount                   | uint32 | 创建网络时指定的区域数量。                                  |
| MaxUserCount                  | uint32 | 网络配置中指定的最大用户数。                                 |
| MaxDeviceCount                | uint32 | 网络配置中指定的最大设备数。                                 |
| MaxUsersPerDeviceCount        | uint32 | 网络配置中指定的每台设备的最大用户数。                            |
| MaxDevicesPerUserCount        | uint32 | 网络配置中指定的每个用户的最大设备数。                            |
| MaxEndpointsPerDeviceCount    | uint32 | 网络配置中指定的每台设备的最大终结点数。                           |
| DirectPeerConnectivityOptions | int32  | 创建网络时指定的直接对等连接选项。                              |
| RequestedRelayVersion         | String | 请求的中继协议版本。                                     |
| RequestedRelayBuildAliasId    | String | 请求的中继构建别名 ID。                                  |

## 常用属性

所有 V2 PlayStream 事件都格式化为 JSON 对象，其中大多数共享以下常用属性：

| 名称                 | 类型                                                                            | 描述                                        |
| :----------------- | :---------------------------------------------------------------------------- | :---------------------------------------- |
| SchemaVersion      | String                                                                        | PlayStream 事件格式版本，遵循语义化版本控制方案。            |
| FullName           | [Object](/services/playfab/api-references/events/data-types/fullnameobject)   | 事件名称与事件命名空间的组合，用于完整指定事件类型。                |
| Id                 | String                                                                        | PlayFab 为此事件分配的唯一标识符。                     |
| Timestamp          | DateTime                                                                      | 与此事件关联的时间（UTC）。                           |
| Entity             | [Object](/services/playfab/api-references/events/data-types/entityobject)     | 有关此事件适用的实体的详细信息，包括 Entity Id 和 Entity 类型。 |
| Originator         | [Object](/services/playfab/api-references/events/data-types/originatorobject) | 描述发起此事件的源和源类型的对象。                         |
| PayloadContentType | String                                                                        | 指定事件负载的内容。默认值为 "JSON"。                    |
| Origin Info        | Object                                                                        | 可选字段，包含有关源自 PlayFab 之外的事件的信息。             |


## Related topics

- [PlayFab 的 PlayStream 事件模型参考](/zh-CN/services/playfab/api-references/events/index.md)
- [client_network_destroyed](/zh-CN/services/playfab/api-references/events/Networking/client-network-destroyed.md)
- [IXtfFileIOClient::CreateDirectory Method](/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/createdirectory-ixtffileioclient-xtffileio-xbox-microsoft-m.md)
- [client_connected_to_network](/zh-CN/services/playfab/api-references/events/Networking/client-connected-to-network.md)
- [client_network_information_received](/zh-CN/services/playfab/api-references/events/Networking/client-network-information-received.md)
