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

# PFGroupsCreateGroupRequest

> PFGroupsCreateGroupRequest 数据模型。基于 title 的组模板创建新组，以及管理员和成员角色。

PFGroupsCreateGroupRequest 数据模型。基于 title 的组模板创建新组，以及管理员和成员角色。返回有关所创建组的信息。

## 语法

```cpp theme={null}
typedef struct PFGroupsCreateGroupRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    const char* groupName;  
} PFGroupsCreateGroupRequest;  
```

### 成员

**`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\*<br />*may be nullptr*

（可选）要在其上执行此操作的可选实体。默认为当前登录的实体。

**`groupName`**   const char\*<br />*is null-terminated*

组的名称。默认情况下，此名称在 title 级别唯一。

## 要求

**头文件：** PFGroupsTypes.h

## 另请参阅

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


## Related topics

- [PFGroupsCreateGroupAsync](/zh-CN/services/playfab/api-references/c/pfgroups/functions/pfgroupscreategroupasync.md)
- [服务 C API 概览 - PFGroupsTypes.h](/zh-CN/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [PFGroupsCreateGroupRoleRequest](/zh-CN/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupscreategrouprolerequest.md)
- [PFGroupsCreateRoleAsync](/zh-CN/services/playfab/api-references/c/pfgroups/functions/pfgroupscreateroleasync.md)
- [PFGroupsCreateGroupResponse](/zh-CN/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupscreategroupresponse.md)
