nn::nex::MatchmakeSessionSearchCriteria::SetAttribute Member Function

Syntax

void SetAttribute(
     qUnsignedInt32 uiIndex,
     qUnsignedInt32 val
);

Parameters

Name Description
in uiIndex Index of the attribute to set. You can specify a value greater than or equal to 0 but less than or equal to NUM_MATCHMAKE_SESSION_ATTRIBUTES - 1.
in val Application-defined attribute values.

Return Values

None.

Description

Specifies the attributes to search for.

Specifies the attributes to search for. You can specify up to the number of attributes given by NUM_MATCHMAKE_SESSION_ATTRIBUTES. Unspecified indices match any value.

The attribute values in indexes 0 to NUM_MATCHMAKE_SESSION_ATTRIBUTES - 1 are all evaluated at once. The order of the index values does not matter.

Revision History

2013/05/27
Added a note indicating that attribute values are evaluated all at once and the order of the indexes does not matter.
2011/01/27
Initial version.

CONFIDENTIAL