Previous Book Contents Book Index Next

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


Host Changed Message Structure

NetSprocket uses the host changed message structure to send a message when the host of a game in progress has been changed. The host changed message structure is defined by the NSpHostChangedMessage data type.

typedef struct NSpHostChangedMessage {
   NSpMessageHeader           header;
   NSpPlayerID                newHost;
} NSpHostChangedMessage;
Field descriptions

header
A valid game object.
newHost
The player ID of the new host.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996