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

# XblSocialRelationship

> XblSocialRelationship

# XblSocialRelationship

사용자와 다른 XBOX 사용자 간의 관계를 나타냅니다.

## Syntax

```cpp theme={null}
typedef struct XblSocialRelationship {  
    uint64_t xboxUserId;  
    bool isFavorite;  
    bool isFriend;  
    bool isFollowingCaller;  
    const char** socialNetworks;  
    size_t socialNetworksCount;  
} XblSocialRelationship  
```

### Members

*xboxUserId*\
Type: uint64\_t

해당 사용자의 XBOX 사용자 식별자입니다.

*isFavorite*\
Type: bool

해당 사용자가 사용자의 관심이 더 많은 사람인지 여부를 나타냅니다. 사용자는 자신의 사용자 목록에 많은 사람을 보유할 수 있으므로 즐겨찾기 사용자는 환경에서 먼저 우선적으로 표시하고, 즐겨찾기가 아닌 사용자보다 먼저 표시해야 합니다.

*isFriend*\
Type: bool

사용자와 다른 XBOX 사용자 간에 상호 팔로워/팔로잉 관계가 있는지 여부를 나타냅니다.

*isFollowingCaller*\
Type: bool

팔로워/팔로잉 관계를 반영하지 않으며, 현재 이전 버전과의 호환성을 위해 유지됩니다. 이 필드의 값은 XblSocialRelationship 내의 'isFriend' 값에 따라 결정됩니다.

*socialNetworks*\
Type: const char\*\*

이 사용자가 관계를 맺고 있는 소셜 네트워크를 나타내는 UTF-8 인코딩된 문자열의 컬렉션입니다.

*socialNetworksCount*\
Type: size\_t

socialNetworks 배열에 있는 소셜 네트워크 문자열의 수입니다.

## Argument of

[XblSocialRelationshipResultGetRelationships](/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetrelationships)

## Requirements

**Header:** social\_c.h

## See also

[social\_c](/reference/live/xsapi-c/social_c/social_c_members)


## Related topics

- [XblSocialRelationshipResultGetRelationships](/ko/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetrelationships.md)
- [XblSocialRelationshipResultGetNextAsync](/ko/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultgetnextasync.md)
- [소셜 관계 가져오기](/ko/services/xbox-services/community/people-system/how-to/live-getting-a-social-relationship.md)
- [XblSocialRelationshipFilter](/ko/reference/live/xsapi-c/social_c/enums/xblsocialrelationshipfilter.md)
- [XblSocialRelationshipResultDuplicateHandle](/ko/reference/live/xsapi-c/social_c/functions/xblsocialrelationshipresultduplicatehandle.md)
