//for team event pop //accept invitation and try to get all invitations agatin public void AcceptTeamInvitation(Tap5050TeamInvitation invitationinfo) { Dictionary<string, string> acceptinvitaitonsparameters = new Dictionary<string, string> (); acceptinvitaitonsparameters.Add ("token_id", GlobalVariable.token_id); acceptinvitaitonsparameters.Add ("member_id", invitationinfo.group_member_id); App.INSTANCE.networknamager.AcceptTeamInvitation (acceptinvitaitonsparameters, (Tap5050WebResponse response) => { if (response.available) { var result=(Tap5050Result)response.parsedobject; if(result.result_success.Equals("Y")){ // }else{ ShowNextPop(); } } else{ ShowNextPop(); } }); }
public void IgnoreTeamInvitation(Tap5050TeamInvitation invitationinfo) { ShowNextPop(); }
public void DeclineTeamInvitation(Tap5050TeamInvitation invitationinfo) { Dictionary<string, string> acceptinvitaitonsparameters = new Dictionary<string, string> (); acceptinvitaitonsparameters.Add ("token_id", GlobalVariable.token_id); acceptinvitaitonsparameters.Add ("member_id", invitationinfo.group_member_id); App.INSTANCE.networknamager.DeleteTeamInvitation (acceptinvitaitonsparameters, (Tap5050WebResponse response) => { ShowNextPop(); }); }