public void Remove() { if (null != PlayerNetwork.mainPlayer) { ServerAdministrator.RequestDeleteBlackList(mRoleId); } }
void OnRemoveBtn() { foreach (UserAdmin Userinfo in mpitchAdminList) { //ServerAdministrator.DeleteBlacklist(Userinfo.Id); //UIAdminstratorctr.UIArrayBlackAdmin.Remove(Userinfo); ServerAdministrator.RequestDeleteBlackList(Userinfo.Id); } mpitchAdminList.Clear(); ShowPageLsit(UIAdminstratorctr.mUIBalckInfoList, mCurrentPage, UIAdminstratorctr.UIArrayBlackAdmin); Reflsh(UIAdminstratorctr.mUIBalckInfoList); }