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

# XblSocialFriendRequestCountChangedEventArgs

> 待处理的传入好友请求数量发生更改时的事件参数。

# XblSocialFriendRequestCountChangedEventArgs

待处理的传入好友请求数量发生更改时的事件参数。

## 语法

```cpp theme={null}
typedef struct XblSocialFriendRequestCountChangedEventArgs {  
    uint64_t callerXboxUserId;  
    size_t incomingFriendRequestCount;  
} XblSocialFriendRequestCountChangedEventArgs;  
```

### 成员

*callerXboxUserId*\
类型：uint64\_t

传入好友请求数量发生更改的用户的 XBOX 用户 ID。这是与注册处理程序的 XBOX 服务上下文关联的用户。

*incomingFriendRequestCount*\
类型：size\_t

当前待处理的传入好友请求数量。

## 备注

该结构仅在回调期间有效。请复制以后需要使用的任何值。

## 参数属于

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

## 要求

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

## 另请参阅

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


## Related topics

- [XblSocialIncomingFriendRequestCountChangedHandler](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialincomingfriendrequestcountchangedhandler.md)
- [XblSocialAddFriendRequestCountChangedHandler](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialaddfriendrequestcountchangedhandler.md)
- [social_c](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/social_c_members.md)
- [XblSocialRemoveFriendRequestCountChangedHandler](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/functions/xblsocialremovefriendrequestcountchangedhandler.md)
- [XblSocialNotificationType](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/social_c/enums/xblsocialnotificationtype.md)
