Compartir a través de


XblMultiplayerActivityJoinRestriction

Enumerates who can join a player's current activity.

Syntax

enum class XblMultiplayerActivityJoinRestriction  : uint32_t  
{  
    Public = 0,  
    InviteOnly = 1,  
    Followed = 2  
}  

Constants

Constant Description
Public Everyone.
InviteOnly Only invited players.
Followed Only followed players.

Remarks

To see how this enumeration is used, see "Setting an activity" in the Activities section of Example code for Multiplayer Activity.

Member of

XblMultiplayerActivityInfo

Argument of

XblMultiplayerActivitySetActivityAsync

Requirements

Header: multiplayer_activity_c.h

See also

multiplayer_activity_c