Exemplo n.º 1
0
//		public void ApplyFastFight()
//		{
//			Log.info(this, "发送8-15给服务器请求扫荡");
//			MemoryStream msdata = new MemoryStream ();
//			Module_8.write_8_15 (msdata, _selectedCopyPoint, (byte)_fightNum);
//			AppNet.gameNet.send(msdata, 8 , 15);
//		}

        //---------------------------------------------------------------------------------
        //更新副本数据
        public void UpdateDaemonIslandInfo(DungeonSuperInfoMsg_8_16 daemonIslandinfo)
        {
            _newOpenMapId   = daemonIslandinfo.maxid;
            _daemonCopyInfo = daemonIslandinfo.info;

            DataUpdate(UPDATE_DAEMONISLAND_INFO);
        }
Exemplo n.º 2
0
        //返回恶魔岛副本信息
        public void Fun_8_16(INetData data)
        {
            Log.info(this, "8-16协议返回恶魔岛副本信息");
            DungeonSuperInfoMsg_8_16 dungeonSuperInfoMsg_8_16 = new DungeonSuperInfoMsg_8_16();

            dungeonSuperInfoMsg_8_16.read(data.GetMemoryStream());
            Singleton <DaemonIslandMode> .Instance.UpdateDaemonIslandInfo(dungeonSuperInfoMsg_8_16);
        }