Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | private Dictionary<string, MailInfo> mailModelDict = new Dictionary<string,MailInfo>();
|
| | | private List<MailInfo> timeOrderMailInfo = new List<MailInfo>();
|
| | | private Regex smatch = new Regex(@"<MailTemplate>([^>.\n]*)</MailTemplate>([^>.\n]*)", RegexOptions.Singleline);
|
| | | private Regex smatchSystem = new Regex(@"[\\]*\/[\\]*", RegexOptions.Singleline);
|
| | |
|
| | | public string mailTitleStr = "";
|
| | | public string mailContentstr = "";
|
| | | public string mailSendPersonStr = "";
|
| | |
| | | public void GetReciveMailContent(MailInfo info)
|
| | | {
|
| | | Debug.Log(info.Text);
|
| | | info.Text = smatchSystem.Replace(info.Text, "/");
|
| | | if (smatch.IsMatch(info.Text))
|
| | | {
|
| | | Match match = smatch.Match(info.Text);
|
| | |
| | |
|
| | | if(mailContentArray.Length > 2)
|
| | | {
|
| | | string mailDes = Regex.Replace(mailContentArray[2], @"<[\\]+/r>", "</r>");
|
| | | string mailDes = mailContentArray[2];
|
| | | mailContentstr = mailDes;
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | firstTimeRechargeModel.OpenFirstChargeTrialWin();
|
| | | }
|
| | | else if(!WindowCenter.Instance.CheckOpen<PetAndMountPushWin>()) //灵宠坐骑推送
|
| | | else if(!WindowCenter.Instance.CheckOpen<PetAndMountPushWin>()
|
| | | && !WindowCenter.Instance.CheckOpen<OffLineOnHookWin>()) //灵宠坐骑推送
|
| | | {
|
| | | storeModel.SetPushPetAndMountWinState();
|
| | | }
|
| | |
| | | NewBieCenter.Instance.guideBeginEvent -= GuidBegin;
|
| | | shopItemlimitDict.Clear();
|
| | | petAndMountPushlist.Clear();
|
| | | ClearPushData();
|
| | | tagTowerModel = null;
|
| | | storeFuncType = StoreFunc.WeekStore;
|
| | | tcbRefreshDict.Clear();
|
| | |
| | |
|
| | | private void GuidBegin()
|
| | | {
|
| | | SetPushPetAndMountWinState(true,true);
|
| | | PetAndMountPushWin pushWin = WindowCenter.Instance.Get<PetAndMountPushWin>();
|
| | | if(pushWin != null)
|
| | | {
|
| | | SetPushPetAndMountWinState(true, true);
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnMoveTopPart(bool isMove)
|
| | |
| | | {
|
| | | if (equipWashModel.IsWashFull(_itemModel, _washProModel, _tagWashModel))
|
| | | {
|
| | | _washFullLvText.text = Language.Get("EquipWash113", _itemModel.chinItemModel.LV, equipWashModel.GetWashFullLv(_itemModel.chinItemModel.LV));
|
| | | if(_washProModel.XLAttrLV >= equipWashModel.GetMaxWashLv())
|
| | | {
|
| | | _washFullLvText.text = Language.Get("WashLevelFulled");
|
| | | }
|
| | | else
|
| | | {
|
| | | _washFullLvText.text = Language.Get("EquipWash113", _itemModel.chinItemModel.LV, equipWashModel.GetWashFullLv(_itemModel.chinItemModel.LV));
|
| | | }
|
| | | ObjHideOrShow(false, false, false, false, true);
|
| | | }
|
| | | else
|