XblMultiplayerActivityInfo
Information about a player’s activity while playing a title.Syntax
Members
xuidType: uint64_t The XBOX user ID to which the activity info belongs. connectionString
Type: const char* The connection string passed to the connecting client to join a game; typically contains information such as the server IP address. When querying activities, this field is populated only if the activity is public or the player is following the caller. joinRestriction
Type: XblMultiplayerActivityJoinRestriction Specifies who can join the player’s current activity. maxPlayers
Type: size_t The maximum number of players who can join the player’s current activity. A value of 0 indicates that no players can join. currentPlayers
Type: size_t The number of players already playing with the player in a multiplayer activity. A value of 0 indicates that no other players are currently playing. groupId
Type: const char* A unique identifier to group all users playing as part of the same activity. The title sets this identifier when it creates the activity. platform
Type: XblMultiplayerActivityPlatform The platform on which the activity is happening. When setting an activity, the platform is automatically inferred; this field is ignored.
Remarks
To see how this enumeration is used, see “Setting an activity” and “Getting activities” in the Activities section of Example code for Multiplayer Activity.Argument of
XblMultiplayerActivityGetActivityResultXblMultiplayerActivitySetActivityAsync
