//开始抽奖 public void StartLottery(uint id, ushort times) { MemoryStream msdata = new MemoryStream(); Module_16.write_16_2(msdata, id, times); AppNet.gameNet.send(msdata, 16, 2); Log.info(this, "开始抽奖,id:" + id + " 次数:" + times); }
//查询抽奖信息 //id: 范围0~6, 为0表示查询所有 public void QueryLotteryInfo(uint id) { MemoryStream msdata = new MemoryStream(); Module_16.write_16_1(msdata, id); AppNet.gameNet.send(msdata, 16, 1); Log.info(this, "查询抽奖信息,id为" + id); }