DWC Library Constants

Definitions


#include <dwc.h>

#define   DWC_STATUS_OFFLINE                    0
#define   DWC_STATUS_ONLINE                     1
#define   DWC_STATUS_PLAYING                    2
#define   DWC_STATUS_MATCH_ANYBODY              3
#define   DWC_STATUS_MATCH_FRIEND               4
#define   DWC_STATUS_MATCH_SC_CL                5
#define   DWC_STATUS_MATCH_SC_SV                6
    
#define   DWC_STATE_INIT                        0
#define   DWC_STATE_AVAILABLE_CHECK             1
#define   DWC_STATE_LOGIN                       2
#define   DWC_STATE_ONLIN                       3
#define   DWC_STATE_UPDATE_SERVERS              4
#define   DWC_STATE_MATCHING                    5
#define   DWC_STATE_CONNECTED                   6

				

Friend Communication Status

DWC_STATUS_OFFLINE Offline (Indicates the DWC is offline or that the friendship with the partner is not established.)
DWC_STATUS_ONLINE Online (Logged in to a Wi-Fi connection server.)
DWC_STATUS_PLAYING In-game (After matchmaking has completed.)
DWC_STATUS_MATCH_ANYBODY In "connect to anybody peer matchmaking"
DWC_STATUS_MATCH_FRIEND In "connect to friends peer matchmaking"
DWC_STATUS_MATCH_SC_CL Client DS undergoing server-client matchmaking
DWC_STATUS_MATCH_SC_SV Server DS undergoing server-client matchmaking

DWC Library States

DWC_STATE_INIT Initial state
DWC_STATE_AVAILABLE_CHECK Checking the game's availability state
DWC_STATE_LOGIN Logging in
DWC_STATE_ONLINE Login completed and online
DWC_STATE_UPDATE_SERVERS Currently involved in the friend roster synchronization process.
DWC_STATE_MATCHING Currently matchmaking.
DWC_STATE_CONNECTED Matching has completed and a mesh network has been constructed.

Revision History

01/18/2006 Revised the description of DWC_STATE_UPDATE_SERVERS
12/16/2005 Deleted the error constant from the initialization process results
07/22/2005 Initial version