//副本暂停请求 public void PauseCopy() { Log.info(this, "发送8-6给服务器暂停副本"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_6(msdata); AppNet.gameNet.send(msdata, 8, 6); }
//请求离开副本 public void ApplyQuitCopy() { Log.info(this, "发送8-4给服务器离开副本"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_4(msdata); AppNet.gameNet.send(msdata, 8, 4); }
public void ApplyGetAward(uint cityId, byte awardId) { Log.info(this, "发送8-18给服务器请求领取奖励"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_18(msdata, (ushort)cityId, awardId); AppNet.gameNet.send(msdata, 8, 18); }
//-------------------------------------------------------------// public void ApplyWorldMapInfo() { Log.info(this, "发送8-1给服务器请求副本信息"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_1(msdata); AppNet.gameNet.send(msdata, 8, 1); }
// public List<PSuperDungeonInfo> DaemonCopyInfo{ get {return _daemonCopyInfo;}} public void ApplyDaemonCopyInfo(uint cityId) { Log.info(this, "发送8-16给服务器请求恶魔岛副本信息"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_16(msdata, cityId); AppNet.gameNet.send(msdata, 8, 16); }
public void ApplyAwardInfo(uint cityId) { Log.info(this, "发送8-17给服务器请求恶魔岛奖励领取情况"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_17(msdata, cityId); AppNet.gameNet.send(msdata, 8, 17); }
//------------------------------------- 协议请求 -----------------------------------------// //客户端请求点石成金的面板信息 public void ApplyGoldHitInfo() { Log.info(this, "发送8-11给服务器请求点石成金信息"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_11(msdata); AppNet.gameNet.send(msdata, 8, 11); }
//向服务器发送清除CD public void ApplyClearCD() { MemoryStream msdata = new MemoryStream(); Module_8.write_8_12(msdata); AppNet.gameNet.send(msdata, 8, 12); Log.debug(this, "向服务器请求清除CD!"); }
public void ActiveGirl(uint subworldId) { Log.info(this, "发送8-19给服务器激活女神:" + subworldId); MemoryStream msdata = new MemoryStream(); Module_8.write_8_19(msdata, subworldId); AppNet.gameNet.send(msdata, 8, 19); }
public void ApplyFastFight(uint copyPointId, byte fightNum) { Log.info(this, "发送8-15给服务器请求扫荡"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_15(msdata, copyPointId, fightNum); AppNet.gameNet.send(msdata, 8, 15); }
//-------------------------------------- 新的副本协议 -------------------------------// public void ApplyCopyInfo(uint subWordlId) { Log.info(this, "发送8-3给服务器请求副本点星级奖励信息"); MemoryStream msdata = new MemoryStream(); Module_8.write_8_3(msdata, subWordlId); AppNet.gameNet.send(msdata, 8, 3); }
/// <summary> /// 区域触发请求服务器刷新怪物 /// </summary> public void TriggerMonList() { Log.info(this, "发送8-20给服务器刷新区域触发的怪物"); MemoryStream msdata = new MemoryStream(); uint phase = MapMode.CUR_MAP_PHASE; Module_8.write_8_20(msdata, phase); AppNet.gameNet.send(msdata, 8, 20); }