MBGameInfo


C Specification

/* This parent game information does not change */
typedef struct MBGameInfoFixed
{
    MBIconInfo icon;                           
    MBUserInfo parent;                         
    u8         maxPlayerNum;                   
    u8         pad[1];
    u16        gameName[ MB_GAME_NAME_LENGTH ];       
    u16        gameIntroduction[ MB_GAME_INTRO_LENGTH ];
} MBGameInfoFixed;

/* This parent information changes dynamically */
typedef struct MBGameInfoVolatile
{
    u8         nowPlayerNum;
    u8         pad[1];
    u16        nowPlayerFlag;
    u16        changePlayerFlag;
    MBUserInfo member[ MB_MEMBER_MAX_NUM ];
} MBGameInfoVolatile;

/* Parent game information beacon */
typedef struct  MBGameInfo
{
    MBGameInfoFixed    fixed;
    MBGameInfoVolatile volat;
    u16                broadcastedPlayerFlag;
    u8                 dataAttr;              
    u8                 seqNoFixed;            
    u8                 seqNoVolat;            
    u8                 fileNo;                
    u8                 pad[2];
    u32                ggid;                 
    struct             MBGameInfo *nextp;
} MBGameInfo;
    

Description

This structure stores the information previously returned by the children that the multiboot parent will broadcast in its next beacon to all children.

Members

The members of MBGameInfo are:

The members of MBGameInfoFixed are:

The members of MBGameInfoVolatile are:

See Also

MB_FakeStartScanParent

Revision History

11/25/2004 Initial version.