nn::nex::MatchmakeSessionSearchCriteria::SetAttributeWithRange Member Function

Syntax

void SetAttributeWithRange(
     qUnsignedInt32 uiIndex,
     qUnsignedInt32 min,
     qUnsignedInt32 max
);

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 min Application-defined minimum attribute value.
in max Application-defined maximum attribute value.

Return Values

None.

Description

Specifies the range of attributes to search for.

Specifies the range of attributes to search for. You can specify up to the number of attributes given by NUM_MATCHMAKE_SESSION_ATTRIBUTES. Unspecified indices will match any value. Searches with minimum <= attribute value <= maximum.

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/03/04
Initial version.

CONFIDENTIAL