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

# XblSocialManagerEvent

> XblSocialManagerEvent

# XblSocialManagerEvent

Événement indiquant qu'un élément du graphe social a changé.

## Syntaxe

```cpp theme={null}
typedef struct XblSocialManagerEvent {  
    XblUserHandle user;  
    XblSocialManagerEventType eventType;  
    hr eventType;  
    XblSocialManagerUserGroupHandle groupAffected;  
    XblSocialManagerUser* usersAffected[XBL_SOCIAL_MANAGER_MAX_AFFECTED_USERS_PER_EVENT];  
} XblSocialManagerEvent  
```

### Membres

*user*\
Type : XblUserHandle

L'utilisateur dont le graphe a changé.

*eventType*\
Type : [XblSocialManagerEventType](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype.md)

Le type de cet événement.

*eventType*\
Type : hr

L'erreur survenue, ou S\_OK.

*groupAffected*\
Type : XblSocialManagerUserGroupHandle

Le groupe d'utilisateurs qui a été chargé pour XblSocialManagerEventType::SocialUserGroupLoaded ou mis à jour pour XblSocialManagerEventType::SocialUserGroupUpdated. Sera nul pour les autres types d'événements.

*usersAffected*\
Type : [XblSocialManagerUser\*](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)\[XBL\_SOCIAL\_MANAGER\_MAX\_AFFECTED\_USERS\_PER\_EVENT]

Les utilisateurs touchés. Les pointeurs retournés sont valides jusqu'au prochain appel à XblSocialManagerDoWork.

## Argument de

[XblSocialManagerDoWork](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdowork.md)

## Configuration requise

**En-tête :** social\_manager\_c.h

## Voir aussi

[social\_manager\_c](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)


## Related topics

- [XblSocialManagerEventType](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype.md)
- [XblSocialManagerUser](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
- [Vue d'ensemble de Social Manager](https://docs.xbox.com/fr-CA/services/xbox-services/community/social-manager/live-social-manager-overview.md)
- [XblSocialManagerDoWork](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdowork.md)
- [social_manager_c](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)
