Previous Book Contents Book Index Next

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


Group Enumeration Structure

You use the group enumeration structure to maintain a list of all the groups currently in the game. In addition to the number of groups currently in the game, it contains an array of pointers to the group information structures. The group enumeration structure is defined by the NSpGroupEnumeration data type.

typedef struct NSpGroupEnumeration {
   UInt32                     count;
   NSpGroupInfoPtr            groups[kVariableLengthArray];
} NSpGroupEnumeration, *NSpGroupEnumerationPtr;
Field descriptions

count
The number of groups in the game.
groups
An array of pointers to group information structures.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996