DWC_GetState

Syntax

#include <dwc.h>

DWCState DWC_GetState(void);

Arguments

None.

Return Values

DWC_STATE_INIT Initial state
DWC_STATE_AVAILABLE_CHECK The DWC_LoginAsync function has been called; currently checking whether the GameSpy server is in an available state.
DWC_STATE_LOGIN The DWC_LoginAsync function has been called; currently connecting to the Nintendo Wi-Fi Connection server.
DWC_STATE_ONLINE Connection to a Nintendo Wi-Fi Connection server has been established.
DWC_STATE_UPDATE_SERVERS The DWC_UpdateServersAsync function has been called; currently synchronizing the friend roster.
DWC_STATE_MATCHING Currently matchmaking.
DWC_STATE_CONNECTED Matchmaking completed.

Description

Gets the internal status of the DWC FriendsMatch library. (For debugging.)

Use the value obtained only for debugging.

This function is for debugging, but it also works with the libraries of the final version of the ROM (FINALROM).

Revision History


CONFIDENTIAL