共用方式為


XblMultiplayerGetActivitiesWithPropertiesForSocialGroupAsync

Queries for the current activity for a social group of players associated with a particular "owner" player.

Syntax

HRESULT XblMultiplayerGetActivitiesWithPropertiesForSocialGroupAsync(  
         XblContextHandle xblContext,  
         const char* scid,  
         uint64_t socialGroupOwnerXuid,  
         const char* socialGroup,  
         XAsyncBlock* async  
)  

Parameters

xblContext   _In_
Type: XblContextHandle

Xbox Live context for the local player.

scid   _In_
Type: char*

The service configuration identifier (SCID) within which to query for activities. The SCID is case-sensitive, so paste it directly from Partner Center.

socialGroupOwnerXuid   _In_
Type: uint64_t

The player whose social group will be used for the query.

socialGroup   _In_
Type: char*

The social group (such as "people" or "favorites") to use to get the list of users.

async   _In_
Type: XAsyncBlock*

The XAsyncBlock for this operation.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

No paging or continuation is available. The Multiplayer service limits the number of items returned to 100.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_c