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

# PartyInvitation

> 表示用于将用户身份验证到网络中的邀请。

表示用于将用户身份验证到网络中的邀请。

## Syntax

```cpp theme={null}
class PartyInvitation  
```

## Public Methods

| Name                                                                                                                                                        | Description                                                                                                                                                                                                    |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetCreatorEntityId](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getcreatorentityid)                 | 获取创建此邀请的用户的 PlayFab Entity ID；如果此邀请是作为 [PartyManager::CreateNewNetwork()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork) 操作的一部分生成的，则为 nullptr。 |
| [GetInvitationConfiguration](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getinvitationconfiguration) | 获取此邀请的配置。                                                                                                                                                                                                      |
| [GetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getcustomcontext)                     | 检索应用之前与此邀请对象关联的私有自定义指针大小上下文值。                                                                                                                                                                                  |
| [SetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_setcustomcontext)                     | 使用此邀请对象配置可选的自定义指针大小上下文值。                                                                                                                                                                                       |

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)\
[PartyManager::CreateNewNetwork](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork)\
[PartyNetwork::CreateInvitation](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_createinvitation)\
[PartyNetwork::AuthenticateLocalUser](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_authenticatelocaluser)\
[PartyInvitationConfiguration](/services/playfab/multiplayer/networking/reference/structs/partyinvitationconfiguration)


## Related topics

- [PartyInvitation::GetInvitationConfiguration](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getinvitationconfiguration.md)
- [PartyInvitationConfiguration](/zh-CN/services/playfab/multiplayer/networking/reference/structs/partyinvitationconfiguration.md)
- [PartyInvitation::GetCustomContext](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getcustomcontext.md)
- [PartyInvitation::SetCustomContext](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_setcustomcontext.md)
- [PartyInvitationRevocability](/zh-CN/services/playfab/multiplayer/networking/reference/enums/partyinvitationrevocability.md)
