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

# PartyInvitationConfiguration

> 邀请配置数据。

邀请配置数据。

## 语法

```cpp theme={null}
struct PartyInvitationConfiguration {  
    PartyString identifier;  
    PartyInvitationRevocability revocability;  
    uint32_t entityIdCount;  
    const PartyString* entityIds;  
}  
```

### 成员

**`identifier`**   [PartyString](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/typedefs.md)\
*可能为 nullptr*

邀请的标识符。

仅当作为 [PartyManager::CreateNewNetwork()](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork.md) 或 [PartyNetwork::CreateInvitation()](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_createinvitation.md) 的输入使用时,此值才可以为 nullptr。\
\
&#x20;此字符串的长度必须小于或等于 `c_maxInvitationIdentifierStringLength`。

**`revocability`**   [PartyInvitationRevocability](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/enums/partyinvitationrevocability.md)

邀请的可撤销性。

**`entityIdCount`**   uint32\_t

邀请允许对网络进行身份验证的 PlayFab 实体 ID 的数量。

如果此值为 0,则允许所有用户使用该邀请的标识符进行身份验证。\
\
&#x20;此值必须小于或等于 `c_maxInvitationEntityIdCount`。

**`entityIds`**   const [PartyString](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/typedefs.md)\*\
*大小为 `entityIdCount` 的数组*

邀请允许对网络进行身份验证的 PlayFab 实体 ID 列表。

如果此列表为空,则允许所有用户使用该邀请的标识符进行身份验证。

## 要求

**标头:** Party.h

## 另请参阅

[Party 成员](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/party_members.md)\
[PartyInvitation](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/partyinvitation.md)\
[PartyInvitationRevocability](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/enums/partyinvitationrevocability.md)\
[PartyManager::CreateNewNetwork](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork.md)\
[PartyNetwork::CreateInvitation](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_createinvitation.md)\
[PartyInvitation::GetInvitationConfiguration](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getinvitationconfiguration.md)


## Related topics

- [PartyInvitation::GetInvitationConfiguration](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getinvitationconfiguration.md)
- [PartyInvitation](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/partyinvitation.md)
- [PartyManager::CreateNewNetwork](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork.md)
- [Request Party Service](https://docs.xbox.com/api-reference/multiplayerserver/request-party-service.md)
- [请求 Party 服务](https://docs.xbox.com/zh-CN/services/playfab/api-references/rest/multiplayer/multiplayer-server/request-party-service.md)
