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

# PFProfilesGetEntityProfileRequest

> PFProfilesGetEntityProfileRequest 数据模型。给定一个实体类型和实体标识符，将从实体存储中检索配置文件。

PFProfilesGetEntityProfileRequest 数据模型。给定一个实体类型和实体标识符，将从实体存储中检索配置文件。如果检索到的配置文件是调用方的，则读取操作是一致的；否则是不一致的读取。不一致的读取意味着我们不保证在读取配置文件之前所有已提交的写入都已发生，从而允许过时的读取。如果一致性很重要，可以使用结果中的版本号来比较任何读取者拥有的配置文件的版本。

## 语法

```cpp theme={null}
typedef struct PFProfilesGetEntityProfileRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* dataAsObject;  
    PFEntityKey const* entity;  
} PFProfilesGetEntityProfileRequest;  
```

### 成员

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

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

**`customTagsCount`**   uint32\_t

customTags 的计数

**`dataAsObject`**   bool const\*<br />*may be nullptr*

（可选）确定对象是作为转义的 JSON 字符串返回，还是作为未转义的 JSON 对象返回。默认为 JSON 字符串。

**`entity`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*<br />*may be nullptr*

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

## 要求

**头文件：** PFProfilesTypes.h

## 另请参阅

[PFProfilesTypes 成员](/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members)


## Related topics

- [PFProfilesGetProfileAsync](/zh-CN/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofileasync.md)
- [Services C API overview - PFProfilesTypes.h](/zh-CN/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)
- [PFProfilesGetEntityProfilesRequest](/zh-CN/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesgetentityprofilesrequest.md)
- [PFProfilesSetEntityProfilePolicyRequest](/zh-CN/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilessetentityprofilepolicyrequest.md)
- [PFProfilesGetEntityProfileResponse](/zh-CN/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesgetentityprofileresponse.md)
