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

# studio_user_invited

> studio_user_invited 事件。

邀请用户加入工作室时触发此事件。

## 属性

| 名称                       | 类型                                                                                                  | 说明                                    |
| :----------------------- | :-------------------------------------------------------------------------------------------------- | :------------------------------------ |
| AuthenticationProvider   | [AuthenticationProvider](/services/playfab/api-references/events/data-types/authenticationprovider) | 用户注册时需要使用的身份验证提供程序类型                  |
| AuthenticationProviderId | String                                                                                              | 身份验证提供程序实体 ID（如果提供程序需要）。              |
| Email                    | String                                                                                              | 邀请发送到的电子邮件                            |
| InvitationExpires        | DateTime                                                                                            | 邀请的过期时间                               |
| InvitationId             | String                                                                                              | 如果用户需要注册，则为邀请的 ID                     |
| InvitedExistingUser      | Boolean                                                                                             | 指示被邀请的用户是否已存在；如果存在，则不会创建邀请记录，用户将被自动关联 |
| InvitorPlayFabId         | String                                                                                              | 创建邀请的用户的身份                            |
| StudioPermissions        | \[]                                                                                                 | 用户注册时将被授予的工作室权限数组                     |
| TitlePermissions         | Object                                                                                              | 用户注册时将被授予的 title id 与 title 权限的字典     |

## 通用属性

所有 V1 PlayStream 事件均格式化为 JSON 对象，并共享以下通用属性：

| 名称             | 类型                                                                          | 说明                                                                                                                                                                                |
| :------------- | :-------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| EntityId       | String                                                                      | 此事件适用的实体（title、player 等）的标识符。                                                                                                                                                     |
| EntityType     | String                                                                      | 此事件适用的实体（player、title 等）的类型。如果 PlayFab 需要对此实体执行操作，则 EntityType 必须为 "player"、"character" 或 "title"。要求 PlayFab 当前不解析的任何实体类型都应加上命名空间前缀（如 "com.mygame.guild"），因为 PlayFab 可能随时开始解析根实体。 |
| EventId        | String                                                                      | PlayFab 为此事件分配的唯一标识符。                                                                                                                                                             |
| EventName      | String                                                                      | 此事件的名称。                                                                                                                                                                           |
| EventNamespace | String                                                                      | 分配给此事件的命名空间。例如："com.myprogram.ads"                                                                                                                                                |
| Source         | String                                                                      | 此 PlayStream 事件的来源名称；如果事件源自我们，则为 PlayFab。                                                                                                                                         |
| SourceType     | [SourceType](/services/playfab/api-references/events/data-types/sourcetype) | 此事件的来源类型（PlayFab 合作伙伴、其他后端或来自 PlayFab API）。                                                                                                                                       |
| Timestamp      | DateTime                                                                    | 与此事件关联的时间（UTC）。                                                                                                                                                                   |
