I am trying to use the Entity Groups system to allow players to create, join, and invite each other to groups. However I'm running into some issues. Specifically, how do I cause a group invite from Player1 to show up on Player2s client.
In the example you have 3 methods I am interested in; "InviteToGroup()," "OnInvite()," and "OnAcceptInvite()." My understanding of these methods was that InviteToGroup would call PlayFabGroupsAPI.InviteToGroup() on Player1s client which would trigger OnInvite() on Player2s client. However it seems to trigger OnInvite() on Player1s client, which limits the usefulness of this method. How can Player1 "send" an invite to Player2s client?
Never mind, I see the PlayFabGroupsAPI.ListGroupInvitations(). Kinda clunky but usable, thank you.
Answer by williamacarson1 · May 18 at 05:11 PM
Never-nevermind. ListGroupInvitations doesn't let you list your own invitations, instead listing the invitations for a group. ListMembershipOpportunities is what I was looking for.