private void startVoteRsp(Msg msg) { Table.StartVoteRsp rsp = (Table.StartVoteRsp)(msg.body); AlertMgr.Instance.showAlert(ALERT_TYPE.type1, RoleController.Instance.getPlayerById(rsp.id).Name + "发起解散房间,是否同意", delegate { GameConst.VoteTimer = Time.time; ProtoReq.voteQuitReq(true); }, delegate { GameConst.VoteTimer = Time.time; ProtoReq.voteQuitReq(false); }, 15); }