Пример #1
0
        //副本暂停请求
        public void PauseCopy()
        {
            Log.info(this, "发送8-6给服务器暂停副本");
            MemoryStream msdata = new MemoryStream();

            Module_8.write_8_6(msdata);
            AppNet.gameNet.send(msdata, 8, 6);
        }
Пример #2
0
        //请求离开副本
        public void ApplyQuitCopy()
        {
            Log.info(this, "发送8-4给服务器离开副本");
            MemoryStream msdata = new MemoryStream();

            Module_8.write_8_4(msdata);
            AppNet.gameNet.send(msdata, 8, 4);
        }
Пример #3
0
        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);
        }
Пример #4
0
        //-------------------------------------------------------------//


        public void ApplyWorldMapInfo()
        {
            Log.info(this, "发送8-1给服务器请求副本信息");
            MemoryStream msdata = new MemoryStream();

            Module_8.write_8_1(msdata);
            AppNet.gameNet.send(msdata, 8, 1);
        }
Пример #5
0
//		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);
        }
Пример #6
0
        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);
        }
Пример #7
0
        //-------------------------------------  协议请求  -----------------------------------------//
        //客户端请求点石成金的面板信息
        public void ApplyGoldHitInfo()
        {
            Log.info(this, "发送8-11给服务器请求点石成金信息");
            MemoryStream msdata = new MemoryStream();

            Module_8.write_8_11(msdata);
            AppNet.gameNet.send(msdata, 8, 11);
        }
Пример #8
0
        //向服务器发送清除CD
        public void ApplyClearCD()
        {
            MemoryStream msdata = new MemoryStream();

            Module_8.write_8_12(msdata);
            AppNet.gameNet.send(msdata, 8, 12);
            Log.debug(this, "向服务器请求清除CD!");
        }
Пример #9
0
        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);
        }
Пример #10
0
        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);
        }
Пример #11
0
        //-------------------------------------- 新的副本协议  -------------------------------//
        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);
        }
Пример #12
0
        /// <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);
        }