Compartir a través de


XblMultiplayerSessionVisibility

Defines values that indicate the visibility or accessibility of a session.

Syntax

enum class XblMultiplayerSessionVisibility  : uint32_t  
{  
    Unknown,  
    Any,  
    PrivateSession,  
    Visible,  
    Full,  
    Open  
}  

Constants

Constant Description
Unknown The status is unknown.
Any Ignore the session visibility filter.
PrivateSession The session is private and is not visible to players who aren't in the session. Attempting to join causes the service to return HTTP_E_STATUS_FORBIDDEN (403).
Visible The session is visible to players who aren't in the session, but the session is read-only to them and they can't join. Attempting to join causes the service to return HTTP_E_STATUS_BAD_REQUEST (400).
Full The session is full and cannot be joined by anyone. Attempting to join causes the service to return HTTP_E_STATUS_BAD_REQUEST (400).
Open The session is open and can be joined by anyone.

Remarks

For more information, see Game session visibility and joinability and the Visibility and joinability section of Multiplayer Session advanced topics.

Member of

XblMultiplayerActivityDetails
XblMultiplayerSessionConstants
XblMultiplayerSessionInitArgs
XblMultiplayerSessionQuery
XblMultiplayerSessionQueryResult

Argument of

XblMultiplayerSearchHandleGetVisibility
XblMultiplayerSessionConstantsSetVisibility

Requirements

Header: multiplayer_c.h

See also

multiplayer_c