Example #1
0
        static void Analyze()
        {
            lid.Clear();
            bool ok = false;

            if (nav_index < 12)
            {
                ok = ParseData.Analyze_Nav(ref c_buff, lid, itemcount);
                svb.Refresh();
                if (ok)
                {
                    ParseData.GetFilterData(ref c_buff, ref buff_fid);
                }
            }
            else
            {
                if (nav_index == 12)
                {
                    ok = ParseData.Analyze_NavA(ref c_buff, ref Key_li, "", itemcount, lid);
                }
                else
                {
                    ok = ParseData.Analyze_NavA(ref c_buff, ref Key_li, "", itemcount, lid);
                }
                svb.Refresh();
            }
            if (!ok)
            {
                Main.Notify("加载姿势不正确,请换姿势姿势(刷新或更换过滤选项)", Component.warning_brush);
            }
        }
Example #2
0
        static void Analyze()
        {
            if (filter_buff == null)
            {
                filter_buff = new List <FilterOption> [8];
                OptionTitle = new string[8];
                FilterList  = new ListBox[8];
                FilterTitle = new TextBlock[8];
            }
            int s = ParseData.GetFilterOption(ref c_buff, filter_buff, ref OptionTitle);

            ParseData.Analyze_Nav(ref c_buff, sp.Data, itemcount, s);

            sp.Update = true;
            sp.Visble = true;
            UpdateFilter();
            int c = sp.Data.Count;

            for (int i = 0; i < c; i++)
            {
                (sp.Data[i] as DataMod).UpdateImage();
            }
        }