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

# XblSocialRelationshipChangeEventArgs

> XblSocialRelationshipChangeEventArgs

# XblSocialRelationshipChangeEventArgs

社交关系更改的事件参数。

## 语法

```cpp theme={null}
typedef struct XblSocialRelationshipChangeEventArgs {  
    uint64_t callerXboxUserId;  
    XblSocialNotificationType socialNotification;  
    uint64_t* xboxUserIds;  
    size_t xboxUserIdsCount;  
} XblSocialRelationshipChangeEventArgs  
```

### 成员

*callerXboxUserId*\
类型：uint64\_t

要列出其社交图更改的用户的 XBOX 用户 ID。

*socialNotification*\
类型：[XblSocialNotificationType](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/enums/xblsocialnotificationtype.md)

通知更改的类型。

*xboxUserIds*\
类型：uint64\_t\*

事件涉及的 XBOX 用户 ID。

*xboxUserIdsCount*\
类型：size\_t

xboxUserIds 数组中的字符串数量。

## 要求

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

## 另请参阅

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


## Related topics

- [XblSocialNotificationType](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/enums/xblsocialnotificationtype.md)
- [social_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/social_c_members.md)
- [XblStatisticChangeEventArgs](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/user_statistics_c/structs/xblstatisticchangeeventargs.md)
- [XblMultiplayerSessionChangeEventArgs](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayersessionchangeeventargs.md)
- [XblAchievementProgressChangeEventArgs](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/achievements_c/structs/xblachievementprogresschangeeventargs.md)
