#include <dwc.h>
typedef struct DWCstMatchOptMinComplete
{
u8 valid;
u8 minEntry;
u8 pad[2];
u32 timeout;
}
DWCMatchOptMinComplete;
This structure is used to configure the option to complete matchmaking with fewer than the specified number of players.
If peer matchmaking does not complete within a specified time, this option allows it to complete with fewer than the specified number of players set by the DWC_ConnectToAnybodyAsync or DWC_ConnectToFriendsAsync function. This can be set by calling the DWC_SetMatchingOption function with DWC_MATCH_OPTION_MIN_COMPLETE, specified in the opttype argument, and a pointer to this structure, which has a value set in the member variable in the optval argument.
Matchmaking does not end immediately when the time from the beginning of matchmaking reaches the timeout value. Matchmaking will not complete until after all hosts on that connection have also timed out in the same way.
valid |
TRUE: These matchmaking options are valid. FALSE: These matchmaking options are invalid. |
minEntry |
The minimum number of connected parties, including yourself, to allow matchmaking to complete. |
pad |
Padding. It is okay not to set anything. |
timeout |
The amount of time that must pass before allowing matchmaking to complete even with fewer than the specified number of players (the unit is milliseconds). |
DWC_SetMatchingOption
DWC_GetMOMinCompState
DWC_ConnectToAnybodyAsync
DWC_ConnectToFriendsAsync
2005/12/16 Initial version.
CONFIDENTIAL