#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.
During peer matchmaking, if matchmaking is not completed within a specified time, this matchmaking option allows matchmaking to complete with less than the specified number of players set by the DWC_ConnectToAnybodyAsync or DWC_ConnectToFriendsAsync functions. 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's 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. (units: msec.) |
DWC_SetMatchingOption, DWC_GetMOMinCompState, DWC_ConnectToAnybodyAsync, DWC_ConnectToFriendsAsync
12/16/2005 Initial version.