private void SendQuickRegisterRequest(string oldPwd, string newPwd) { this.isRequestingServer = true; this.reqChangePwd = ServerRequestManager.instance.ChangePassword(oldPwd, newPwd); this.reqChangePwd.ChangePwdSuccess += new EventHandler<EventArgs>(this.HandleSuccessEvent); this.reqChangePwd.ChangePwdFail += new EventHandler<EventArgs>(this.HandleFailEvent); }
private void ReqGameNoticeList() { if (!this.isRequestingServer) { this.isRequestingServer = true; this.reqGetList = ServerRequestManager.instance.GetGameNotice(); this.reqGetList.GetNoticeSuccess += new EventHandler<EventArgs>(this.GetListSuccess); this.reqGetList.GetNoticeFail += new EventHandler<EventArgs>(this.GetListFail); } }