Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 4 - NetSprocket / NetSprocket Reference
NetSprocket Functions / Managing Player Information


NSpPlayer_GetMyID

You can use the NSpPlayer_GetMyID function to obtain your player ID.

NSpPlayerID NSpPlayer_GetMyID  (NSpGameReference inGame);
inGame
An opaque reference to your game object.
function result
A valid player ID.
DESCRIPTION
NSpPlayer_GetMyID returns the player ID for the game object you have specified. NetSprocket returns 0 if there is no player associated with the game object.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996