author | title | description | ms.author | ms.topic | ms.service | ms.date |
---|---|---|---|---|---|---|
ScottMunroMS |
PFMultiplayerStopListeningForLobbyInvites |
Disables the Lobby invite listener for a given entity. |
scmunro |
reference |
playfab |
03/14/2022 |
Disables the Lobby invite listener for a given entity.
HRESULT PFMultiplayerStopListeningForLobbyInvites(
PFMultiplayerHandle handle,
const PFEntityKey* listeningEntity
)
handle
PFMultiplayerHandle
The handle of the PFMultiplayer API instance.
listeningEntity
PFEntityKey*
The entity which is listening for invites.
Type: HRESULT
S_OK
if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PFMultiplayerGetErrorMessage().
This operation will synchronously stop listening for invites on behalf of the provided entity.
Invite notifications which have already been queued internally will still be provided via the next call to PFMultiplayerStartProcessingLobbyStateChanges().
Lobby invites and this invite listener are unrelated to and unaffected by platform invite mechanisms.
This method may only be called if the Lobby invite listener is already enabled for the given entity.
Header: PFLobby.h