> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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](/fr-CA/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype)

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\*](/fr-CA/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser)\[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](/fr-CA/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdowork)

## Configuration requise

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

## Voir aussi

[social\_manager\_c](/fr-CA/reference/live/xsapi-c/social_manager_c/social_manager_c_members)


## Related topics

- [XblSocialManagerEvent](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerevent.md)
- [XblSocialManagerEventType](/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype.md)
