Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 4 - NetSprocket / NetSprocket Reference
NetSprocket Functions / Managing Groups of Players


NSpGroup_Delete

You can use the NSpGroup_Delete function to delete a group from the game.

OSStatus NSpGroup_Delete (
	NSpGameReference inGame,
	NSpGroupID inGroupID);
inGame
An opaque reference to your game object.
inGroupID
The ID of the group to delete.
function result
A result code of noErr, or a NetSprocket or Open Transport result code.
DESCRIPTION
NSpGroup_Delete does not delete the players in the group. It simply deletes the group ID. A deleted group is no longer usable by any player in the game.

NetSprocket returns an error if it could not delete the group


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996