#include <nitro/wm.h>
typedef struct WMGameInfo
{
u16 version;
u16 padd0;
u32 ggid;
u16 tgid;
u8 userGameInfoLength;
u8 gameNameCount_attribute;
u16 parentMaxSize;
u16 childMaxSize;
union {
u16 userGameInfo[ WM_SIZE_USER_GAMEINFO/sizeof(u16) ];
struct {
u16 userName[ WM_SIZE_USERNAME/sizeof(u16) ];
u16 gameName[ WM_SIZE_GAMENAME/sizeof(u16) ];
u16 padd1[ 44 ];
} old_type;
};
} WMGameInfo;
The structure storing information of parent discovered by result of search by WM_StartScan function.
ggid |
Game group ID This is a unique value for identifying game applications with compatible communication. |
tgid |
Temporary group ID This is a dynamic value set on the parent side to allow uniqueness when the same device and same game application establish multiple communication. |
userGameInfoLength |
Size, in byte (u16) units, of available data stored in userGameInfo. |
userGameInfo |
Array in which any information characteristic to the application is stored. |
parentMaxSize |
Maximum size of parent send data in MP communication |
childMaxSize |
Maximum size of child send data in MP communication |
version |
Version number of the structure Used internally by library |
gameNameCount_attribute |
Used internally by library |
old_type |
Provided for compatibility with old format The user does not need to use this argument. |
11/12/2004 Corrected the unit of userGameInfoLength.
10/06/2004 Initial version.