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

# XblSocialRelationshipFilter

> XblSocialRelationshipFilter

# XblSocialRelationshipFilter

定义可用于社交组的关系筛选器。

## 语法

```cpp theme={null}
enum class XblSocialRelationshipFilter  : uint32_t  
{  
    All,  
    Favorite,  
    LegacyXboxLiveFriends  
}  
```

## 常量

| 常量 | 说明 |
| - | - |
| All | 用户人物列表中的所有人。 |
| Favorite | 仅筛选用户人物列表中带有 “Favorite” 属性的人。 |
| LegacyXboxLiveFriends | 仅筛选用户人物列表中同时也是旧版 XBOX 好友的人。 |

## 参数属于

[XblSocialGetSocialRelationshipsAsync](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync.md)

## 要求

**头文件：** social\_c.h

## 另请参阅

[social\_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/social_c_members.md)


## Related topics

- [XblSocialGetSocialRelationshipsAsync](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync.md)
- [social_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/social_c_members.md)
- [XblRelationshipFilter](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_manager_c/enums/xblrelationshipfilter.md)
- [XblSocialManagerUserGroupGetFilters](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetfilters.md)
- [XblSocialManagerCreateSocialUserGroupFromFilters](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromfilters.md)
