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.