NSpGroup_AddPlayer
You can use theNSpGroup_AddPlayerfunction to add a player to a group.
OSStatus NSpGroup_AddPlayer ( NSpGameReference inGame, NSpGroupID inGroupID, NSpPlayerID inPlayerID);
inGame- An opaque reference to your game object.
inGroupID- The group to which you are adding the player.
inPlayerID- The player to be added.
- function result
- A result code of
noErr, or a NetSprocket or Open Transport result code.DESCRIPTION
NetSprocket returns an error if it could not add the player to the group or the group ID is invalid.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help