Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 4 - NetSprocket / NetSprocket Reference
Data Structures


Group Information Structure

You use the group information structure to maintain information about each of the players in a group. It includes the number of players, along with an array of the player's ID. The group information structure is defined by the NSpGroupInfo data type.

typedef struct NSpGroupInfo {
   NSpGroupID                 id;
   UInt32                     playerCount;
   NSpPlayerID                players[kVariableLengthArray];
} NSpGroupInfo, *NSpGroupInfoPtr;
Field descriptions

id
A unique number identifying the group.
playerCount
The number of players in the group.
players
An array of pointers to player information structures.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996