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

Event arguments for a social relationship change.

## Syntax

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

### Members

*callerXboxUserId*\
Type: uint64\_t

The XBOX user ID for the user who's social graph changes are being listed for.

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

The type of notification change.

*xboxUserIds*\
Type: uint64\_t\*

The XBOX user ids who the event is for.

*xboxUserIdsCount*\
Type: size\_t

The number of strings in the xboxUserIds array.

## Requirements

**Header:** social\_c.h

## See also

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


## Related topics

- [XblSocialRelationshipChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipchangedhandler.md)
- [social_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/social_c/social_c_members.md)
- [XblSocialNotificationType](https://docs.xbox.com/reference/live/xsapi-c/social_c/enums/xblsocialnotificationtype.md)
- [XblSocialFriendRequestCountChangedEventArgs](https://docs.xbox.com/reference/live/xsapi-c/social_c/structs/xblsocialfriendrequestcountchangedeventargs.md)
- [XblStatisticChangeEventArgs](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/structs/xblstatisticchangeeventargs.md)
