public void IgnoreTeamRequest(Tap5050TeamRequest requestinfo) { ShowNextPop(); }
//accept invitation and try to get all invitations agatin public void AcceptTeamRequest(Tap5050TeamRequest requestinfo) { Dictionary<string, string> acceptrequestsparameters = new Dictionary<string, string> (); acceptrequestsparameters.Add ("token_id", GlobalVariable.token_id); acceptrequestsparameters.Add ("member_id", requestinfo.group_member_id); App.INSTANCE.networknamager.AcceptJoinTeamRequest (acceptrequestsparameters, (Tap5050WebResponse response) => { if (response.available) { var result=(Tap5050Result)response.parsedobject; if(result.result_success.Equals("Y")){ //LoadTeam(); ShowNextPop(); }else{ ShowNextPop(); } } else{ ShowNextPop(); } }); }
public void DeclineTeamRequest(Tap5050TeamRequest requestinfo) { Dictionary<string, string> declinerequestsparameters = new Dictionary<string, string> (); declinerequestsparameters.Add ("token_id", GlobalVariable.token_id); declinerequestsparameters.Add ("member_id", requestinfo.group_member_id); App.INSTANCE.networknamager.RejectJoinTeamRequest (declinerequestsparameters, (Tap5050WebResponse response) => { ShowNextPop(); }); }