Skip to content

Surface PlayFab lobby invites through OnSessionUserInviteAccepted#89

Open
maryammadzadeh wants to merge 1 commit into
PlayFab:mainfrom
maryammadzadeh:feat/wire-lobby-invite-to-session-invite-accepted
Open

Surface PlayFab lobby invites through OnSessionUserInviteAccepted#89
maryammadzadeh wants to merge 1 commit into
PlayFab:mainfrom
maryammadzadeh:feat/wire-lobby-invite-to-session-invite-accepted

Conversation

@maryammadzadeh
Copy link
Copy Markdown

Inbound PlayFab lobby invites currently fire only the custom OnPlayFabMultiplayerInviteReceived delegate, so game code wired against the cross-platform IOnlineSession surface (the same path used by EOS, Steam, etc.) never sees them and the existing CreateSearchResultFromInvite helper is unused on non-GDK platforms.

Add NotifyLobbyInviteForStandardDelegate_PlayFabMultiplayer, called alongside the existing OnInvitationReceived_PlayFabMultiplayer in FPlayFabLobby::HandleInvitationReceived. It reuses CreateSearchResultFromInvite and fires TriggerOnSessionUserInviteAcceptedDelegates inline -- the same inline pattern used by OnNativeSessionUserInviteAccepted.

Inbound PlayFab lobby invites currently fire only the custom OnPlayFabMultiplayerInviteReceived delegate, so game code wired against the cross-platform IOnlineSession surface (the same path used by EOS, Steam, etc.) never sees them and the existing CreateSearchResultFromInvite helper is unused on non-GDK platforms.

Add NotifyLobbyInviteForStandardDelegate_PlayFabMultiplayer, called alongside the existing OnInvitationReceived_PlayFabMultiplayer in FPlayFabLobby::HandleInvitationReceived. It reuses CreateSearchResultFromInvite and fires TriggerOnSessionUserInviteAcceptedDelegates inline -- the same inline pattern used by OnNativeSessionUserInviteAccepted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant