#include <dwc.h>
int DWC_GetLastMatchType(void);None.
| -1 | The FriendsMatch library is not initialized. |
DWC_MATCH_TYPE_ANYBODY |
Peer matchmaking with friend unspecified. |
DWC_MATCH_TYPE_FRIEND |
Peer matchmaking with friend specified. |
DWC_MATCH_TYPE_SC_SV |
Server host for server-client matchmaking. |
DWC_MATCH_TYPE_SC_CL |
Client host for server-client matchmaking. |
Gets the last type of matchmaking performed.
Returns -1 if the FriendsMatch library has not been initialized using the DWC_InitFriendsMatch function. Returns DWC_MATCH_TYPE_ANYBODY=0 from the time of initialization until the start of the first matchmaking.
For the change log prior to 5.1 PR2, click here.
CONFIDENTIAL