DWC_GetLastMatchingType

C Specification

#include <dwc.h>

int DWC_GetLastMatchingType( void );

Description

Gets the last type of matchmaking performed.

Returns -1 if the FriendsMatch library has not been initialized using DWC_InitFriendsMatch. Returns DWC_MATCH_TYPE_ANYBODY = 0 from the time of initialization until the start of the first matchmaking.

Arguments

None.

Return Values

-1 The FriendsMatch Library is not initialized.
DWC_MATCH_TYPE_ANYBODY Pair matchmaking with friend unspecified.
DWC_MATCH_TYPE_FRIEND Pair matchmaking with friend specified.
DWC_MATCH_TYPE_SC_SV The server-client matchmaking server DS.
DWC_MATCH_TYPE_SC_CL The server-client matchmaking client DS.

See Also

DWC_InitFriendsMatch, DWC_ConnectToAnybodyAsync, DWC_ConnectToFriendsAsync, DWC_SetupGameServer, DWC_ConnectToGameServerAsync

Revision History

01/31/2006 Set up a link to the FriendMatch Library
12/16/2005 Initial version