Previous Book Contents Book Index Next

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


Join Denied Message Structure

As a host, you can send the join denied message structure to a prospective player who has been denied entry into the game. If a request to join a game is denied, subsequent calls by the player attempting to join the game will return an error from NetSprocket. The game object should be deleted when a join request is denied. The join denied message structure is defined by the NSpJoinDeniedMessage data type.

typedef struct NSpJoinDeniedMessage {
   NSpMessageHeader           header;
   Str255                     reason;
} NSpJoinDeniedMessage;
header
A valid game object.
reason
A string indicating the explanation for refusing entry into the game.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996