qBool SetAttribute( qUnsignedInt32 uiIndex, const qVector< qUnsignedInt32 > & vals );
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 | vals | Application-defined attribute values. Keep the number of values between 1 and SETATTIBUTE_VECTOR_SIZE_MAX . |
0
or greater than SETATTIBUTE_VECTOR_SIZE_MAX
, the function returns false
. Otherwise, it specifies attributes and returns true
. Specifies the attributes to search for. Multiple attributes can be specified.
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