예제 #1
0
 /// <summary>
 /// 清空申请列表
 /// </summary>
 public void ReqCleanApplyList()
 {
     if (IsLeader(ClientGlobal.Instance().MainPlayer.GetID()))
     {
         GameCmd.stClearTeamListRelationUserCmd_CS cmd = new GameCmd.stClearTeamListRelationUserCmd_CS();
         NetService.Instance.Send(cmd);
     }
 }
예제 #2
0
 /// <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);
     }
 }
예제 #3
0
 public void Execute(GameCmd.stClearTeamListRelationUserCmd_CS cmd)
 {
     DataManager.Manager <TeamDataManager>().OnCleanApplyList(cmd);
 }