peerStateChanged
Notify the backend of a server state change, such as the server becoming full.
- void peerStateChanged(
- PEER peer );
Routine | Required Header | Distribution |
---|---|---|
peerStateChanged | <peer.h> | SDKZIP |
Parameters
- peer
- [in] Initialized peer object.
Remarks
The peerStateChanged function is called to force peer to query the game again. Use this when you want to make sure that the latest info on the game is available, such as when the level or gametype changes.
This should only be called while a game is being reported (either from hosting a staging room or game that peer is reporting, or if peerStartReporting[WithSocket]() was called).
Section Reference: Gamespy Peer SDK