DWC_GetLastMatchType

Syntax

#include <dwc.h> 
int DWC_GetLastMatchType(void);

Arguments

None.

Return Values

-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.

Description

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.

Revision History

For the change log prior to 5.1 PR2, click here.   


CONFIDENTIAL