Beispiel #1
0
 //队长同意/拒绝别人的申请
 public void ReqLeaderAnswerJoin(uint joinId, bool b)
 {
     GameCmd.stAnswerJoinTeamRelationUserCmd_CS cmd = new GameCmd.stAnswerJoinTeamRelationUserCmd_CS();
     cmd.id     = joinId;
     cmd.answer = b;   //true同意  false拒绝
     NetService.Instance.Send(cmd);
 }
Beispiel #2
0
 //申请人被队长拒绝
 public void OnLeaderAnswerJoin(GameCmd.stAnswerJoinTeamRelationUserCmd_CS cmd)
 {
     if (cmd.answer == false)
     {
         //申请人被队长拒绝
         //TipsManager.Instance.ShowTipsById();
     }
 }