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.