DWC_GetLastMatchingType

Syntax

#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 Peer matchmaking with friend unspecified.
DWC_MATCH_TYPE_FRIEND Peer 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

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


CONFIDENTIAL