Player Left Message Structure
The player left message structure is used to send a message to all players when a player leaves a game. It includes the updated count of players and the ID of the player who has departed. The player left message structure is defined by the NSpPlayerLeftMessage data type.
typedef struct NSpPlayerLeftMessage { NSpMessageHeader header; UInt32 playerCount; NSpPlayerID playerID; } NSpPlayerLeftMessage;Field descriptions
- header
- A valid game object.
- playerCount
- The number of players left in the game.
- playerID
- A valid player ID.