/// <summary> /// 清空申请列表 /// </summary> public void ReqCleanApplyList() { if (IsLeader(ClientGlobal.Instance().MainPlayer.GetID())) { GameCmd.stClearTeamListRelationUserCmd_CS cmd = new GameCmd.stClearTeamListRelationUserCmd_CS(); NetService.Instance.Send(cmd); } }
/// <summary> /// 清空申请列表 /// </summary> /// <param name="cmd"></param> public void OnCleanApplyList(GameCmd.stClearTeamListRelationUserCmd_CS cmd) { m_listApplyMember.Clear(); if (DataManager.Manager <UIPanelManager>().IsShowPanel(PanelID.TeamPanel)) { DataManager.Manager <UIPanelManager>().SendMsg(PanelID.TeamPanel, UIMsgID.eUpdateApplyList, null); } }
public void Execute(GameCmd.stClearTeamListRelationUserCmd_CS cmd) { DataManager.Manager <TeamDataManager>().OnCleanApplyList(cmd); }