Peer SDK Callbacks
peerAuthenticateCDKeyCallback | Called when peerAuthenticateCDKey and attempt to authenticate the CD-Key is finished. |
peerAutoMatchRateCallback | Called when rating the server for determining the best match |
peerAutoMatchStatusCallback | Called when the Automatch state has changed |
peerChangeNickCallback | Callback called after peerChangeNick attempt is finished. |
peerConnectCallback | Callback for peerConnect |
peerCrossPingCallback | Callback for updated cross-ping between two players in the staging room. |
peerDisconnectedCallback | Called when a local player has been disconnected from the chat server for any reason |
peerEnumPlayersCallback | Called for peerEnumPlayers for each player |
peerGameStartedCallback | Called when the host of a staging room launches the game. |
peerGetGlobalKeysCallback | Callback for peerGetPlayerGlobalKeys() and peerGetRoomGlobalKeys(). |
peerGetPlayerInfoCallback | Called after an attempt to peerGetPlayerInfo is successful |
peerGetRoomKeysCallback | Callback for peerGetRoomKeys. |
peerGlobalKeyChangedCallback | Called when a new value becomes available for a global watch key. |
peerJoinRoomCallback | Callback for the following functions: peerJoinTitleRoom, peerJoinGroupRoom, peerJoinStagingRoom, peerJoinStagingRoomByIP, peerCreateStagingRoom[WithSocket]. |
peerKickedCallback | Callback when a local player was kicked from a room. |
peerListGroupRoomsCallback | Callback for peerListGroupRooms |
peerListingGamesCallback | Callback for peerStartListingGames |
peerNewPlayerListCallback | Callback when the entire player list for the specified room has been updated |
peerNickErrorCallback | Callback for peerConnect. |
peerPingCallback | Callback when an updated ping for a player was just received. |
peerPlayerChangedNickCallback | Callback when a player in one of the rooms changes his/her nick. |
peerPlayerFlagsChangedCallback | Callback when a player's flags have changed in the room |
peerPlayerInfoCallback | Callback when the IP and ProfileID for this player has just been received. |
peerPlayerJoinedCallback | Callback when a player joins a room |
peerPlayerLeftCallback | Callback when a player leaves a room. |
peerPlayerMessageCallback | Callback called when a private message is received from another player |
peerPlayerUTMCallback | Called when a private UTM is received from another player. |
peerQRAddErrorCallback | Callback when reporting a game, this callback is called if there was an error with server reporting. |
peerQRCountCallback | Callback when reporting a game, this callback is used to get a count of the number of players or teams. |
peerQRKeyListCallback | Called when reporting a game, this callback is used to get a list of keys the application will report. |
peerQRNatNegotiateCallback | Called when a nat-negotiate cookie is received. |
peerQRPlayerKeyCallback | Called when getting values for any player keys the game is reporting. |
peerQRPublicAddressCallback | Called when hosting a server with the server's public reporting address. |
peerQRServerKeyCallback | Called when a server key is requested during a hosted game. |
peerQRTeamKeyCallback | Callback is used to get values for any team keys the game is reporting. |
peerReadyChangedCallback | Called when a player's ready state changes. All players default to not ready. |
peerRoomKeyChangedCallback | Called when a new value becomes available for a room watch key, or when a broadcast key changes. |
peerRoomMessageCallback | Called when a message is sent to a room the local player is in. |
peerRoomModeChangedCallback | Called when a room's mode changes. |
peerRoomNameChangedCallback | Called when a room name changes |
peerRoomUTMCallback | Called when a UTM is sent to a room the local player is in. |