#include <dwc.h>
typedef void (*DWCNewClientCallback)( int index, void* param );
This function is called after a new connection with another client DS has started on the mesh netowork to which the local DS belongs when using server-client matchmaking to connect to a friend.
This callback function can be set using DWC_SetupGameServer
or DWC_ConnectToGameServerAsync
.
index |
Friend roster index of the newly connected client DS. -1 if the newly connected client is not a friend. |
param |
Parameter for the callback specified by DWC_SetupGameServer or DWC_ConnectToGameServerAsync . |
None.
DWC_SetupGameServer, DWC_ConnectToGameServerAsync
2005/12/16 Added a description of the callback select function.
2005/11/01 Initial version.