peerGameStartedCallback
Called when the host of a staging room launches the game.
- typedef void (*peerGameStartedCallback)(
- PEER peer,
- SBServer server,
- const gsi_char * message,
- void * param );
Routine | Required Header | Distribution |
---|---|---|
peerGameStartedCallback | <peer.h> | SDKZIP |
Parameters
- peer
- [in] Initialized peer object
- server
- [in] A valid SBServer object
- message
- [in] The message sent by the host
- param
- [in] Pointer to user data. This is optional and will be passed unmodified to the callback function.
Remarks
This is a notice to the other players in the room that the game is starting. The host does not receive this callback.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
peerGameStartedCallback | peerGameStartedCallbackA | peerGameStartedCallbackW |
peerGameStartedCallbackW and peerGameStartedCallbackA are UNICODE and ANSI mapped versions of peerGameStartedCallback. The arguments of peerGameStartedCallbackA are ANSI strings; those of peerGameStartedCallbackW are wide-character strings.
Section Reference: Gamespy Peer SDK
See Also: peerStartGame