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

Syntax

void SetAttribute(
     qUnsignedInt32 uiIndex,
     qUnsignedInt32 val
);
qBool SetAttribute(
     qUnsignedInt32 uiIndex,
     const qVector< qUnsignedInt32 > & vals
);

Overloads

SetAttribute ( qUnsignedInt32, qUnsignedInt32 ) Specifies the attribute to search for.
SetAttribute ( qUnsignedInt32, const qVector< qUnsignedInt32 > & ) Specifies the attributes to search for. Multiple attributes can be specified.

Description of SetAttribute ( qUnsignedInt32, qUnsignedInt32 )

Specifies the attribute to search for. You can specify up to the number of attributes given by NUM_MATCHMAKE_SESSION_ATTRIBUTES. Unspecified indices will 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.

Description of SetAttribute ( qUnsignedInt32, const qVector< qUnsignedInt32 > & )

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.


CONFIDENTIAL