Player Joined Message Structure
The player joined message structure is used to send a message to all players in the game to notify them that a player has joined a game. It includes an updated count of players and the new player's data structure. The player joined message structure is defined by the NSpPlayerJoinedMessage data type.
typedef struct NSpPlayerJoinedMessage { NSpMessageHeader header; UInt32 playerCount; NSpPlayerInfo playerInfo; } NSpPlayerJoinedMessage;Field descriptions
- header
- A valid game object.
- playerCount
- The number of players in the game.
- playerInfo
- Player information structure.