Player Enumeration Structure
You use the player enumeration structure to maintain a list of all the players currently in the game. It contains a count of the players, followed by pointers to each of theplayerInfo
structures. The player enumeration structure is defined by the NSpPlayerEnumeration data type.
typedef struct NSpPlayerEnumeration { UInt32 count; NSpPlayerInfoPtr playerInfo[kVariableLengthArray]; } NSpPlayerEnumeration, *NSpPlayerEnumerationPtr;Field descriptions
- count
- The number of players (and player information structures) listed in NSpPlayerEnumeration.
- playerInfo
- An array of pointers to player information structures for each player in the game.