DWC_GetState

Syntax

#include <dwc.h>
DWCState DWC_GetState(void);

Arguments

None.

Return Values

DWC_STATE_INIT Initial state.
DWC_STATE_AVAILABLE_CHECK Currently checking whether the GameSpy server is in an available state after the DWC_LoginAsync function has been called.
DWC_STATE_LOGIN Connecting to the Nintendo Wi-Fi Connection server after the DWC_LoginAsync function has been called.
DWC_STATE_ONLINE Connection to a Nintendo Wi-Fi Connection server has been established.
DWC_STATE_MATCHING Currently matchmaking.
DWC_STATE_CONNECTED Matchmaking completed.

Description

Gets the internal status of the DWCFriendsMatch library (for debugging).

Use the acquired value 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

5.1 PR2
Deleted DWC_STATE_UPDATE_SERVERS from return values.

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL