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

# PFGroupsBlockEntityRequest

> PFGroupsBlockEntityRequest 数据模型。阻止一组实体加入组。被阻止的实体无法创建新的加入申请、被邀请。

PFGroupsBlockEntityRequest 数据模型。阻止一组实体加入组。被阻止的实体无法创建新的加入申请、被邀请加入、接受邀请或被接受申请。因被阻止而失败不会清除对该组的现有申请或邀请。成功时不返回任何数据。

## 语法

```cpp theme={null}
typedef struct PFGroupsBlockEntityRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    PFEntityKey const* group;  
} PFGroupsBlockEntityRequest;  
```

### 成员

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

（可选）与请求关联的可选自定义标记（例如生成号、外部跟踪标识符等）。

**`customTagsCount`**   uint32\_t

customTags 的数量

**`entity`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

要在其上执行此操作的实体。

**`group`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

组的标识符。

## 要求

**头文件：** PFGroupsTypes.h

## 另请参阅

[PFGroupsTypes 成员](/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members)


## Related topics

- [PFGroupsBlockEntityAsync](/zh-CN/services/playfab/api-references/c/pfgroups/functions/pfgroupsblockentityasync.md)
- [服务 C API 概览 - PFGroupsTypes.h](/zh-CN/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [PFGroupsListGroupBlocksRequest](/zh-CN/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupslistgroupblocksrequest.md)
- [PFGroupsUnblockEntityRequest](/zh-CN/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsunblockentityrequest.md)
- [PFGroupsListGroupBlocksAsync](/zh-CN/services/playfab/api-references/c/pfgroups/functions/pfgroupslistgroupblocksasync.md)
