EOS_Lobby_AddNotifySendLobbyNativeInviteRequested

EOS API reference page for EOS_Lobby_AddNotifySendLobbyNativeInviteRequested

阅读时间2分钟

This function is part of the Lobby Interface.

Remarks

Register to receive notifications about a lobby "INVITE" performed by a local user via the overlay. This is only needed when a configured integrated platform has EOS_IPMF_DisableSDKManagedSessions set. The EOS SDK will then use the state of EOS_IPMF_PreferEOSIdentity and EOS_IPMF_PreferIntegratedIdentity to determine when the NotificationFn is called.

must call EOS_Lobby_RemoveNotifySendLobbyNativeInviteRequested to remove the notification.

Return Value

handle representing the registered callback

See Also

EOS_IPMF_DisableSDKManagedSessions, EOS_IPMF_PreferEOSIdentity, EOS_IPMF_PreferIntegratedIdentity

Parameters

EOS_Lobby_AddNotifySendLobbyNativeInviteRequested

Parameter Type And NameUsage Information
EOS_HLobby Handle
const EOS_Lobby_AddNotifySendLobbyNativeInviteRequestedOptions* OptionsStructure containing information about the request.
void* ClientDataArbitrary data that is passed back to you in the CompletionDelegate.
const EOS_Lobby_OnSendLobbyNativeInviteRequestedCallback NotificationFnA callback that is fired when a notification is received.

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_Lobby_OnSendLobbyNativeInviteRequestedCallback to report the results of its operation.

Callback Remarks

Function prototype definition for notifications that comes from EOS_Lobby_AddNotifySendLobbyNativeInviteRequested

Callback Parameters

EOS_Lobby_OnSendLobbyNativeInviteRequestedCallback

Parameter Type And NameUsage Information
const EOS_Lobby_SendLobbyNativeInviteRequestedCallbackInfo* DataA EOS_Lobby_SendLobbyNativeInviteRequestedCallbackInfo containing the output information and result