void HandleActionPlayerAcceptedInvitation(GK_MatchType matchType, GK_Invite invite) { if (matchType == GK_MatchType.RealTime) { bool useNativeUI = true; GameCenter_RTM.Instance.StartMatchWithInvite(invite, useNativeUI); } }
void HandleActionPlayerRequestedMatchWithRecipients (GK_MatchType matchType, string[] recepientIds, GK_Player[] recepients) { if(matchType == GK_MatchType.RealTime) { //Optionally you can provide and invitation message string invitationMessage = "Come play with me, bro."; GameCenter_RTM.Instance.FindMatchWithNativeUI(recepientIds.Length, recepientIds.Length, invitationMessage, recepientIds); } }
void HandleActionPlayerRequestedMatchWithRecipients(GK_MatchType matchType, string[] recepientIds, GK_Player[] recepients) { if (matchType == GK_MatchType.RealTime) { //Optionally you can provide and invitation message string invitationMessage = "Come play with me, bro."; GameCenter_RTM.Instance.FindMatchWithNativeUI(recepientIds.Length, recepientIds.Length, invitationMessage, recepientIds); } }
private void HandleActionPlayerAcceptedInvitation(GK_MatchType type, GK_Invite invite) { if (type != GK_MatchType.RealTime) { return; } UM_RTM_Invite inv = null; if (!TryGetInvitation(invite.Id, out inv)) { inv = new UM_RTM_Invite(invite); _Invitations.Add(inv); } InvitationAccepted(inv); }
void HandleActionPlayerAcceptedInvitation (GK_MatchType math, GK_Invite invite) { GameCenter_RTM.Instance.StartMatchWithInvite(invite, true); }
void HandleActionPlayerAcceptedInvitation(GK_MatchType math, GK_Invite invite) { GameCenter_RTM.Instance.StartMatchWithInvite(invite, true); }
void HandleActionPlayerAcceptedInvitation (GK_MatchType matchType, GK_Invite invite) { if(matchType == GK_MatchType.RealTime) { bool useNativeUI = true; GameCenter_RTM.Instance.StartMatchWithInvite(invite, useNativeUI); } }