Example #1
0
        public void get_ptMail(Variant msgData)
        {
            for (int i = 0; i < this._mail_list.Length; i++)
            {
                bool flag = this._mail_list[i]["id"]._int == msgData["id"]._int;
                if (flag)
                {
                    this._mail_list[i]["flag"] = msgData["flag"];
                    break;
                }
            }
            LGIUIMail lGIUIMail = this.g_mgr.g_uiM.getLGUI("LGUIMailImpl") as LGIUIMail;
            bool      flag2     = lGIUIMail == null;

            if (!flag2)
            {
                lGIUIMail.openMail(msgData);
            }
        }
Example #2
0
        public void get_glbMail(Variant msgData)
        {
            this._glbmailrd = msgData["id"]._int;
            for (int i = 0; i < this._mail_list.Length; i++)
            {
                bool flag = this._mail_list[i]["id"]._int == msgData["id"]._int;
                if (flag)
                {
                    this._mail_list[i]["flag"] = (this._mail_list[i]["flag"] | 1);
                    break;
                }
            }
            msgData["frmcid"] = 0;
            msgData["flag"]   = (msgData["flag"] | 1);
            msgData["frmnm"]  = LanguagePack.getLanguageText("chat", "sys");
            LGIUIMail lGIUIMail = this.g_mgr.g_uiM.getLGUI("LGUIMailImpl") as LGIUIMail;
            bool      flag2     = lGIUIMail == null;

            if (!flag2)
            {
                lGIUIMail.openMail(msgData);
            }
        }