#include <dwc.h>
int DWC_GetMatchIntValue(int index,
const char *keyString,
int idefault);index |
Index of the matchmaking candidate player. This passes the index argument of the evaluation callback, unchanged. |
keyString |
Pointer to the string for identifying the key. |
idefault |
Default value used in case the player does not have the specified key. |
Value corresponding to the specified key that the matchmaking candidate player has. If the player does not have a key, the value passed to the idefault argument is returned.
Gets the value that corresponds to the matchmaking condition key.
This function is guaranteed only for use inside the player evaluation callback. The returned value is undefined if the function is called from outside of the callback.
It takes some time for the addition of a condition key to be propagated to the server. Thus, even if the application sets the condition key, it is sometimes determined to not exist, and the default value is returned.
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL