Пример #1
0
        private void oneToDelAllMail()
        {
            var msdata = new MemoryStream();

            Module_12.write_12_7(msdata);
            AppNet.gameNet.send(msdata, 12, 7);
        }
Пример #2
0
        /// <summary>
        /// 请求一键提取
        /// </summary>
        public void OneyKeyGetAllAttach()
        {
            var msdata = new MemoryStream();

            Module_12.write_12_8(msdata);
            AppNet.gameNet.send(msdata, 12, 8);
        }
Пример #3
0
        /// <summary>
        /// 请求领取奖励
        /// </summary>
        public void AcceptReward(uint mailID)
        {
            var msdata = new MemoryStream();

            Module_12.write_12_4(msdata, mailID);
            AppNet.gameNet.send(msdata, 12, 4);
        }
Пример #4
0
        /// <summary>
        /// 请求邮件详情
        /// </summary>
        public void RequestMailDetail(uint mailId)
        {
            MemoryStream msdata = new MemoryStream();

            Module_12.write_12_2(msdata, mailId);
            AppNet.gameNet.send(msdata, 12, 2);
        }
Пример #5
0
        //以下为协议相关处理数据-----------------------------------------------------------------//
        /// <summary>
        /// 请求邮件列表
        /// </summary>
        public void RequestMailBasicInfo()
        {
            MemoryStream msdata = new MemoryStream();

            Module_12.write_12_1(msdata);
            AppNet.gameNet.send(msdata, 12, 1);
        }
Пример #6
0
        //附件全部领过,可以请求删除
        private void RequestDeletaAll()
        {
            MemoryStream msdata = new MemoryStream();

            Module_12.write_12_3(msdata, mailInfoVo.SelectMail);
            AppNet.gameNet.send(msdata, 12, 3);
            mailInfoVo.SelectMail.Clear();             //清空选择
        }