示例#1
0
        protected override void _onProcess()
        {
            LGGDMails g_mailsCT = ((this.session as ClientSession).g_mgr.g_gameM as muLGClient).g_mailsCT;
            bool      flag      = !this.msgData.ContainsKey("mail") && !this.msgData.ContainsKey("glbmail");

            if (!flag)
            {
                bool flag2 = this.msgData.ContainsKey("glbmail");
                if (flag2)
                {
                }
            }
        }
示例#2
0
        protected override void _onProcess()
        {
            LGGDMails g_mailsCT = ((this.session as ClientSession).g_mgr.g_gameM as muLGClient).g_mailsCT;
            bool      flag      = this.msgData.ContainsKey("glbmail") && this.msgData["glbmail"] == 1;

            if (flag)
            {
                g_mailsCT.get_glbMail(this.msgData);
            }
            else
            {
                g_mailsCT.get_ptMail(this.msgData);
            }
        }
示例#3
0
        protected override void _onProcess()
        {
            LGGDMails g_mailsCT = ((this.session as ClientSession).g_mgr.g_gameM as muLGClient).g_mailsCT;
            bool      flag      = this.msgData["glbmail"] != 0;

            if (flag)
            {
                g_mailsCT.set_glbMailList(this.msgData);
            }
            else
            {
                g_mailsCT.set_ptMailList(this.msgData);
            }
        }
        protected override void _onProcess()
        {
            LGGDMails g_mailsCT = ((this.session as ClientSession).g_mgr.g_gameM as muLGClient).g_mailsCT;
            bool      flag      = this.msgData["res"] == 1;

            if (flag)
            {
                g_mailsCT.getMailItem(this.msgData["id"]);
            }
            else
            {
                string      languageText = LanguagePack.getLanguageText("mail", "receiveFail");
                LGIUIMainUI lGIUIMainUI  = (this.session as ClientSession).g_mgr.g_uiM.getLGUI("LGUIMainUIImpl") as LGIUIMainUI;
                lGIUIMainUI.systemmsg(GameTools.createGroup(new Variant[]
                {
                    "0",
                    languageText
                }), 1024u);
                ((this.session as ClientSession).g_mgr.g_uiM.getLGUI("LGUIMainUIImpl") as LGUIMainUIImpl_NEED_REMOVE).output_server_err(this.msgData["res"]);
            }
        }
示例#5
0
        protected override void _onProcess()
        {
            LGGDMails g_mailsCT = ((this.session as ClientSession).g_mgr.g_gameM as muLGClient).g_mailsCT;

            g_mailsCT.lockMail(this.msgData);
        }