示例#1
0
    // Token: 0x06000674 RID: 1652 RVA: 0x00005B30 File Offset: 0x00003D30
    public override Class80 vmethod_4()
    {
        Class93 @class = new Class93();

        @class.method_3(this.array_0);
        @class.method_1(base.method_0());
        return(@class);
    }
        public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
        {
            if (reader.JsonToken_0 == JsonToken.Null)
            {
                return(null);
            }
            XmlNamespaceManager manager    = new XmlNamespaceManager(new NameTable());
            Interface11         interface2 = null;
            Interface10         interface3 = null;

            if (typeof(XObject).IsAssignableFrom(objectType))
            {
                if ((objectType != typeof(XDocument)) && (objectType != typeof(XElement)))
                {
                    throw new JsonSerializationException("XmlNodeConverter only supports deserializing XDocument or XElement.");
                }
                XDocument document = new XDocument();
                interface2 = new Class99(document);
                interface3 = interface2;
            }
            if (typeof(System.Xml.XmlNode).IsAssignableFrom(objectType))
            {
                if (objectType != typeof(XmlDocument))
                {
                    throw new JsonSerializationException("XmlNodeConverter only supports deserializing XmlDocuments");
                }
                XmlDocument document2 = new XmlDocument();
                interface2 = new Class93(document2);
                interface3 = interface2;
            }
            if ((interface2 == null) || (interface3 == null))
            {
                throw new JsonSerializationException("Unexpected type when converting XML: " + objectType);
            }
            if (reader.JsonToken_0 != JsonToken.StartObject)
            {
                throw new JsonSerializationException("XmlNodeConverter can only convert JSON that begins with an object.");
            }
            if (!string.IsNullOrEmpty(this.DeserializeRootElementName))
            {
                this.method_8(reader, interface2, interface3, this.DeserializeRootElementName, manager);
            }
            else
            {
                reader.Read();
                this.method_15(reader, interface2, manager, interface3);
            }
            if (!(objectType == typeof(XElement)))
            {
                return(interface2.Object_0);
            }
            XElement element = (XElement)interface2.Interface12_0.Object_0;

            element.Remove();
            return(element);
        }
示例#3
0
    private static void smethod_12(Class857 A_0, Class93 A_1)
    {
        int num = 0x10;

        if (Class567.smethod_16(A_1.method_0()))
        {
            string name = Class922.smethod_79(A_1.method_0());
            if (A_0.method_9().Styles.FindByName(name) == null)
            {
                Style   style  = smethod_11(StyleType.ParagraphStyle, A_1.method_0(), A_0.method_9());
                Class97 class2 = (Class97)A_1;
                if (A_1.method_8() != null)
                {
                    style.ApplyBaseStyle(smethod_11(StyleType.ParagraphStyle, A_1.method_8(), A_0.method_9()));
                }
                if (class2.method_13() != null)
                {
                    class2.method_13().CopyPropertiesTo(style.RunPr);
                }
                if ((class2.method_15() != null) && (style.ParaPr != null))
                {
                    class2.method_15().CopyPropertiesTo(style.ParaPr);
                }
                if (class2.method_25() != -1)
                {
                    style.ParaPr.SetAttr(0x500, (byte)class2.method_25());
                }
                if (style.StyleIdentifier == StyleIdentifier.Normal)
                {
                    style.QuickFormat = true;
                    A_0.method_9().Styles.DefaultParaStyle = style as ParagraphStyle;
                    style.Name = BookmarkStart.b("砵圷䠹儻弽ⰿ", num);
                    style.method_5(BookmarkStart.b("圵", num));
                    A_0.method_9().Styles.method_7(style, null);
                }
                else
                {
                    A_0.method_9().Styles.method_7(style, null);
                }
            }
        }
        else
        {
            Class97 class3 = (Class97)A_1;
            if (class3.method_13() != null)
            {
                A_0.method_9().DefCharFormat = new CharacterFormat(A_0.method_9());
                class3.method_13().method_37(A_0.method_9().DefCharFormat);
            }
            if (class3.method_15() != null)
            {
                A_0.method_9().DefParaFormat = new ParagraphFormat(A_0.method_9());
                class3.method_15().method_37(A_0.method_9().DefParaFormat);
            }
        }
    }
示例#4
0
 private static bool smethod_10(Class857 A_0, Class93 A_1)
 {
     for (int i = 0; i < A_0.method_13().method_8(); i++)
     {
         Class91 class2 = A_0.method_13().method_5(i);
         if ((class2 is Class101) && (class2 as Class101).method_23().Contains(A_1.method_0()))
         {
             return(true);
         }
     }
     return(false);
 }
示例#5
0
    internal static Class108 smethod_10(Class857 A_0)
    {
        int     num    = 0;
        Class91 class2 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true);

        if (class2 is Class92)
        {
            return(A_0.method_14().method_0(BookmarkStart.b("甥尧䬩䈫䨭儯䀱倳", num)));
        }
        Class93 class3 = (Class93)class2;
        string  str    = (class3 != null) ? class3.method_6() : A_0.method_26();

        return(smethod_11(A_0, A_0.method_14(), str));
    }
示例#6
0
 private static void smethod_9(Class857 A_0, Class93 A_1)
 {
     if (!smethod_10(A_0, A_1))
     {
         Class96 class2 = (Class96)A_1;
         if (Class567.smethod_16(A_1.method_0()))
         {
             Style style = smethod_11(StyleType.CharacterStyle, A_1.method_0().ToString(), A_0.method_9());
             if (class2.method_13() != null)
             {
                 class2.method_13().method_37(style.RunPr);
             }
             A_0.method_9().Styles.method_7(style, null);
         }
     }
 }
示例#7
0
    private static void smethod_2(Class857 A_0, Class93 A_1)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();

        class2.method_18();
        while (class2.method_19())
        {
            string str;
            if (!Class857.smethod_8(class2, A_1) && ((str = class2.method_1()) != null))
            {
                if (str != BookmarkStart.b("䨫伭崯嬱堳伵", num))
                {
                    if (str != BookmarkStart.b("䄫伭䌯䘱儳䐵ᔷ䨹崻夽┿潁⩃❅╇⽉", num))
                    {
                        if (str != BookmarkStart.b("䠫䬭嘯匱䄳娵䰷᜹医䬽㐿⹁ⵃ⡅ⵇ杉⁋⭍♏㝑㡓", num))
                        {
                            if (!(str == BookmarkStart.b("尫伭䈯圱娳䈵ᔷ䤹䠻䜽ⰿ❁楃⡅⥇❉⥋", num)))
                            {
                                if (str == BookmarkStart.b("䀫䜭䌯䘱ᤳ䔵䰷䌹倻嬽洿ⱁ╃⭅ⵇ", num))
                                {
                                    A_1.method_11(Class576.smethod_87(class2.method_3()));
                                }
                            }
                            else
                            {
                                A_1.method_9(Class576.smethod_87(class2.method_3()));
                            }
                        }
                        else if ((A_1 is Class97) && Class567.smethod_16(class2.method_3()))
                        {
                            ((Class97)A_1).method_26(class2.method_4() - 1);
                        }
                    }
                    else
                    {
                        A_1.method_7(Class576.smethod_87(class2.method_3()));
                    }
                }
                else
                {
                    A_1.method_5(class2.method_3());
                }
            }
        }
    }
示例#8
0
    private static void smethod_13(Class857 A_0)
    {
        int num = 6;

        for (int i = 0; i < A_0.method_9().Styles.Count; i++)
        {
            Style style4 = (Style)A_0.method_9().Styles[i];
            if ((style4.StyleIdentifier != StyleIdentifier.Normal) && (style4.StyleIdentifier != StyleIdentifier.DefaultParagraphFont))
            {
                Class91 class4 = A_0.method_13().method_2(style4.Name, null, false, false);
                if (class4 is Class93)
                {
                    Class93 class3 = class4 as Class93;
                    if (class3.method_8() != null)
                    {
                        Style style = A_0.method_9().Styles.method_12(class3.method_8(), false);
                        if (((style != null) && (style.StyleType == style4.StyleType)) && (class3.method_0() != class3.method_8()))
                        {
                            style4.BasedOnIstd = A_0.method_9().Styles.method_12(class3.method_8(), false).Istd;
                        }
                    }
                }
            }
        }
        for (int j = 0; j < A_0.method_13().method_8(); j++)
        {
            Class91 class5 = A_0.method_13().method_5(j);
            if ((class5 != null) && (class5 is Class101))
            {
                Class101 class6 = class5 as Class101;
                string   str    = (string)class6.method_23()[0];
                Class93  class2 = (Class93)A_0.method_13().method_2(str, BookmarkStart.b("堫䬭䠯䘱", num), false, false);
                if ((class2 != null) && (class2.method_8() != null))
                {
                    Style     style3 = A_0.method_9().Styles.method_12(class2.method_8(), false);
                    ListStyle style2 = A_0.method_9().ListStyles[class6.method_21().ListDefId];
                    if (style3.StyleIdentifier != StyleIdentifier.NoList)
                    {
                        style2.ListStyleIstd = style3.Istd;
                    }
                }
            }
        }
    }
示例#9
0
        private INterface7 method_4(ZzSoundClass class1070, Class82 class820, int int2)
        {
            INterface7 @interface = null;

            switch (int2)
            {
            case 1:
                if (_class920 == null)
                {
                    _class920 = new Class92();
                    _class920.vmethod_0(class820, class1070, _class800, _class801, _class840,
                                        _class1041.method_0());
                }
                @interface = _class920;
                break;

            case 2:
                if (_class930 == null)
                {
                    _class930 = new Class93();
                    _class930.vmethod_0(class820, class1070, _class800, _class801, _class840,
                                        _class1041.method_0());
                }
                @interface = _class930;
                break;

            case 3:
                if (_class850 == null)
                {
                    _class850 = new Class85(class820, class1070, _class800, _class801, _class840,
                                            _class1041.method_0());
                }
                @interface = _class850;
                break;
            }
            if (@interface == null)
            {
                throw new DecoderException(DecoderError.UnsupportedLayer, null);
            }
            return(@interface);
        }
示例#10
0
    private static void smethod_8(Class857 A_0)
    {
        int num = 9;

        for (int i = 0; i < A_0.method_13().method_8(); i++)
        {
            Class91 class3 = A_0.method_13().method_5(i);
            if (class3 is Class93)
            {
                Class93 class2 = class3 as Class93;
                if (class2.method_4() == BookmarkStart.b("弮倰䄲吴倶䬸娺䴼圾", num))
                {
                    smethod_12(A_0, class2);
                }
                if ((class2.method_4() == BookmarkStart.b("嬮吰䬲䄴", num)) && (!Class567.smethod_16(class2.method_0()) || (A_0.method_9().Styles.method_12(class2.method_0(), false) == null)))
                {
                    smethod_9(A_0, class2);
                }
            }
        }
        smethod_13(A_0);
    }
        // Token: 0x0600251E RID: 9502 RVA: 0x0007EF2C File Offset: 0x0007D12C
        protected override void vmethod_2(BinaryReader reader, int version)
        {
            this.Flowers          = new Dictionary <Enum99, Class93>();
            this.Trees            = new Dictionary <Enum99, Class109>();
            this.HouseColor       = (Enum13)reader.ReadByte();
            this.State            = (Enum131)reader.ReadByte();
            base.GardeningActions = (Enum36)reader.ReadByte();
            int num = reader.ReadInt32();

            for (int i = 0; i < num; i++)
            {
                Enum99  key   = (Enum99)reader.ReadUInt16();
                Class93 value = new Class93(reader);
                if (!this.Flowers.ContainsKey(key))
                {
                    this.Flowers.Add(key, value);
                }
            }
            num = reader.ReadInt32();
            for (int j = 0; j < num; j++)
            {
                Enum99   key2   = (Enum99)reader.ReadUInt16();
                Class109 value2 = new Class109(reader);
                if (!this.Trees.ContainsKey(key2))
                {
                    this.Trees.Add(key2, value2);
                }
            }
            if (version > 1)
            {
                this.WaterCount = reader.ReadUInt16();
            }
            else
            {
                this.WaterCount = 3;
            }
            base.vmethod_2(reader, version);
        }
示例#12
0
    internal static void smethod_0(Class857 A_0, bool A_1)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();
        string   str    = class2.method_1();
        Class93  class3 = smethod_1(class2.method_12(BookmarkStart.b("䰩䴫䌭夯帱䴳", 4), null));

        smethod_2(A_0, class3);
        while (class2.method_9(str))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_185 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(11);
                    dictionary1.Add(BookmarkStart.b("帩䤫嘭䐯ἱ䐳䐵圷䨹夻䰽㐿⭁⅃㕅", num), 0);
                    dictionary1.Add(BookmarkStart.b("娩䴫尭儯唱䘳圵䠷刹ᄻ丽㈿ⵁ㑃⍅㩇㹉╋⭍⍏", num), 1);
                    dictionary1.Add(BookmarkStart.b("天䤫䴭䐯嬱嬳堵ᔷ䨹主儽〿❁㙃㉅ⅇ⽉㽋", num), 2);
                    dictionary1.Add(BookmarkStart.b("帩䴫䰭尯圱ᤳ䘵䨷唹䰻嬽㈿㙁ⵃ⍅㭇", num), 3);
                    dictionary1.Add(BookmarkStart.b("帩䴫䰭尯圱ᤳ唵圷嘹䤻匽⸿潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num), 4);
                    dictionary1.Add(BookmarkStart.b("帩䴫䰭尯圱ᤳ䐵圷䴹ᄻ丽㈿ⵁ㑃⍅㩇㹉╋⭍⍏", num), 5);
                    dictionary1.Add(BookmarkStart.b("帩䴫䰭尯圱ᤳ唵崷嘹倻ጽ〿ぁ⭃㙅ⵇ㡉㡋❍㕏⅑", num), 6);
                    dictionary1.Add(BookmarkStart.b("䴩師伭䀯娱崳唵ᔷ䨹主儽〿❁㙃㉅ⅇ⽉㽋", num), 7);
                    dictionary1.Add(BookmarkStart.b("堩夫䰭䤯ἱ䐳䐵圷䨹夻䰽㐿⭁⅃㕅", num), 8);
                    dictionary1.Add(BookmarkStart.b("丩師伭䜯嬱娳儵ᔷ䨹崻夽┿潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num), 9);
                    dictionary1.Add(BookmarkStart.b("䤩䐫伭䈯䘱ᤳ䘵䨷唹䰻嬽㈿㙁ⵃ⍅㭇", num), 10);
                    Class1160.dictionary_185 = dictionary1;
                }
                if (Class1160.dictionary_185.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        goto Label_0175;

                    case 1:
                    {
                        if (class3 is Class97)
                        {
                            Class413.smethod_0(A_0, (Class97)class3);
                        }
                        continue;
                    }

                    case 2:
                    {
                        if (class3 is Class95)
                        {
                            Class242.smethod_0(A_0, (Class95)class3);
                        }
                        continue;
                    }

                    case 3:
                    {
                        if (class3 is Class106)
                        {
                            Class853.smethod_0(A_0, (Class106)class3);
                        }
                        continue;
                    }

                    case 4:
                    {
                        if (class3 is Class94)
                        {
                            Class853.smethod_5(A_0, (Class94)class3);
                        }
                        continue;
                    }

                    case 5:
                    {
                        if (class3 is Class103)
                        {
                            Class853.smethod_1(A_0, (Class103)class3);
                        }
                        continue;
                    }

                    case 6:
                    {
                        if (class3 is Class100)
                        {
                            Class853.smethod_2(A_0, (Class100)class3);
                        }
                        continue;
                    }

                    case 7:
                    {
                        if (class3 is Class98)
                        {
                            Class794.smethod_0(A_0, (Class98)class3);
                        }
                        continue;
                    }

                    case 8:
                    {
                        if (class3 is Class105)
                        {
                            Class1095.smethod_0(A_0, (Class105)class3);
                        }
                        continue;
                    }

                    case 9:
                    {
                        if (class3 is Class104)
                        {
                            Class529.smethod_0(A_0, (Class104)class3);
                        }
                        continue;
                    }

                    case 10:
                    {
                        if (class3 is Class99)
                        {
                            Class648.smethod_0(A_0, (Class99)class3);
                        }
                        continue;
                    }
                    }
                }
            }
            goto Label_02BD;
Label_0175:
            if (class3 is Class96)
            {
                Class96         class4 = (Class96)class3;
                CharacterFormat format = Class1141.smethod_0(A_0, (Class96)class3);
                if (format.Count > 0)
                {
                    class4.method_14(format);
                }
                if (class3.method_8() != null)
                {
                    format.CharStyleName = class3.method_8();
                }
            }
            continue;
Label_02BD:
            class2.vmethod_1();
        }
        A_0.method_13().method_1(class3, A_0.method_20(), A_1);
    }
示例#13
0
    internal static DocumentObject smethod_4(Class857 A_0, Class108 A_1, DocumentObject A_2)
    {
        int num = 0x10;

        if (smethod_8(A_0) && ((A_2 == null) || (A_2 is Body)))
        {
            bool flag2;
            if (((A_2 is TableCell) || (A_2 is TextBox)) || (A_2 is HeaderFooter))
            {
                return(A_2);
            }
            Section lastSection = A_0.method_9().LastSection;
            bool    flag        = smethod_7(A_0, A_1);
            if ((flag2 = ((A_0.method_32() || A_0.method_30()) || flag) || (A_0.method_9().Sections.Count == 0)) || ((A_2 == null) && (A_0.method_29().Count == 0)))
            {
                if (A_0.method_29().Count == 0)
                {
                    if (flag2)
                    {
                        lastSection = A_1.method_8();
                        A_0.method_9().Sections.Add(lastSection);
                    }
                }
                else
                {
                    Section section2 = (Section)A_0.method_29().Peek();
                    lastSection = section2.Clone();
                    A_1.method_8().SectPr.method_37(lastSection.SectPr);
                    smethod_5((Class17)section2.SectPr.Clone(), lastSection.SectPr);
                    A_0.method_9().Sections.Add(lastSection);
                }
                Section section3 = (Section)A_0.method_9().GetChildElements(1, 1)[0];
                if ((flag && (((A_0.method_38() == null) || A_0.method_38().method_10()) || (section3.Body.ChildObjects.Count != 0))) && bool_0)
                {
                    lastSection.SectPr.method_57(SectionBreakType.NewPage);
                }
                Class91 class2 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true);
                if (!(class2 is Class92))
                {
                    Class93 class3 = (Class93)class2;
                    A_0.method_27((class3 != null) ? class3.method_6() : BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num));
                    A_0.method_35((((A_0.method_16() != BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)) && (class3 != null)) && (class3 is Class97)) && Class567.smethod_16(class3.method_6()));
                }
            }
            smethod_6(A_0.method_9());
            A_0.method_33(false);
            A_0.method_31(false);
            foreach (Paragraph paragraph2 in A_0.method_36())
            {
                if (paragraph2.ParentObject != lastSection.Body)
                {
                    lastSection.Body.method_13(paragraph2);
                }
            }
            A_0.method_36().Clear();
            return(lastSection.Body);
        }
        if (A_2 != null)
        {
            foreach (Paragraph paragraph in A_0.method_36())
            {
                if (paragraph.Owner == null)
                {
                    A_2.method_13(paragraph);
                }
            }
        }
        return(A_2);
    }
示例#14
0
    // Token: 0x06000571 RID: 1393 RVA: 0x0002EF94 File Offset: 0x0002D194
    public static void smethod_0(object object_0, JSExtInvokeArgs jsextInvokeArgs_0)
    {
        try
        {
            foreach (KeyValuePair <string, JToken> keyValuePair in JObject.Parse(jsextInvokeArgs_0.Arguments.First <object>().ToString()))
            {
                Class111.Class112 @class = new Class111.Class112();
                @class.jtoken_0 = keyValuePair.Value;
                if (MainWindow.dictionary_0.ContainsKey((int)@class.jtoken_0["id"]))
                {
                    if (Class111.Class114.callSite_0 == null)
                    {
                        Class111.Class114.callSite_0 = CallSite <Func <CallSite, object, Thread> > .Create(Binder.Convert(CSharpBinderFlags.ConvertExplicit, typeof(Thread), typeof(Class111)));
                    }
                    if (Class111.Class114.callSite_0.Target(Class111.Class114.callSite_0, MainWindow.dictionary_0[(int)@class.jtoken_0["id"]]["thread"]).IsAlive)
                    {
                        continue;
                    }
                }
                string text = @class.jtoken_0["store"].ToString();
                uint   num  = Class93.smethod_0(text);
                Thread thread;
                if (num <= 1213666813u)
                {
                    if (num <= 834122706u)
                    {
                        if (num <= 156382626u)
                        {
                            if (num <= 72053246u)
                            {
                                if (num != 7379352u)
                                {
                                    if (num != 72053246u)
                                    {
                                        goto IL_780;
                                    }
                                    if (!(text == "Lacoste CA"))
                                    {
                                        goto IL_780;
                                    }
                                    thread = new Thread(new ThreadStart(@class.method_14));
                                }
                                else
                                {
                                    if (!(text == "EastBay "))
                                    {
                                        goto IL_780;
                                    }
                                    thread = new Thread(new ThreadStart(@class.method_20));
                                }
                            }
                            else if (num != 94696313u)
                            {
                                if (num != 156382626u)
                                {
                                    goto IL_780;
                                }
                                if (!(text == "Lacoste FR"))
                                {
                                    goto IL_780;
                                }
                                thread = new Thread(new ThreadStart(@class.method_4));
                            }
                            else
                            {
                                if (!(text == "Size?"))
                                {
                                    goto IL_780;
                                }
                                thread = new Thread(new ThreadStart(@class.method_30));
                            }
                        }
                        else if (num <= 537959913u)
                        {
                            if (num != 356287031u)
                            {
                                if (num != 537959913u)
                                {
                                    goto IL_780;
                                }
                                if (!(text == "Footlocker US "))
                                {
                                    goto IL_780;
                                }
                                thread = new Thread(new ThreadStart(@class.method_17));
                            }
                            else
                            {
                                if (!(text == "Lacoste IT"))
                                {
                                    goto IL_780;
                                }
                                thread = new Thread(new ThreadStart(@class.method_7));
                            }
                        }
                        else if (num != 607951316u)
                        {
                            if (num != 834122706u)
                            {
                                goto IL_780;
                            }
                            if (!(text == "MrPorter"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_1));
                        }
                        else
                        {
                            if (!(text == "Lacoste IE"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_6));
                        }
                    }
                    else if (num <= 1073939897u)
                    {
                        if (num <= 993983648u)
                        {
                            if (num != 978780147u)
                            {
                                if (num != 993983648u)
                                {
                                    goto IL_780;
                                }
                                if (!(text == "Lacoste NL"))
                                {
                                    goto IL_780;
                                }
                                thread = new Thread(new ThreadStart(@class.method_5));
                            }
                            else
                            {
                                if (!(text == "Lacoste DK"))
                                {
                                    goto IL_780;
                                }
                                thread = new Thread(new ThreadStart(@class.method_8));
                            }
                        }
                        else if (num != 1033461544u)
                        {
                            if (num != 1073939897u)
                            {
                                goto IL_780;
                            }
                            if (!(text == "Footlocker CA "))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_18));
                        }
                        else
                        {
                            if (!(text == "EastBay"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_24));
                        }
                    }
                    else if (num <= 1127660147u)
                    {
                        if (num != 1115811218u)
                        {
                            if (num != 1127660147u)
                            {
                                goto IL_780;
                            }
                            if (!(text == "Lacoste KR"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_12));
                        }
                        else
                        {
                            if (!(text == "Lacoste UK"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_3));
                        }
                    }
                    else if (num != 1162892671u)
                    {
                        if (num != 1213666813u)
                        {
                            goto IL_780;
                        }
                        if (!(text == "Lacoste DE"))
                        {
                            goto IL_780;
                        }
                        thread = new Thread(new ThreadStart(@class.method_11));
                    }
                    else
                    {
                        if (!(text == "Lacoste AT"))
                        {
                            goto IL_780;
                        }
                        thread = new Thread(new ThreadStart(@class.method_9));
                    }
                }
                else if (num <= 3276705478u)
                {
                    if (num <= 2445159016u)
                    {
                        if (num <= 1494588195u)
                        {
                            if (num != 1258127411u)
                            {
                                if (num != 1494588195u)
                                {
                                    goto IL_780;
                                }
                                if (!(text == "Footlocker CA"))
                                {
                                    goto IL_780;
                                }
                                thread = new Thread(new ThreadStart(@class.method_23));
                            }
                            else
                            {
                                if (!(text == "Footlocker US"))
                                {
                                    goto IL_780;
                                }
                                thread = new Thread(new ThreadStart(@class.method_22));
                            }
                        }
                        else if (num != 1518474074u)
                        {
                            if (num != 2445159016u)
                            {
                                goto IL_780;
                            }
                            if (!(text == "The Hip Store"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_28));
                        }
                        else
                        {
                            if (!(text == "Lacoste US"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_15));
                        }
                    }
                    else if (num <= 2692391852u)
                    {
                        if (num != 2508713984u)
                        {
                            if (num != 2692391852u)
                            {
                                goto IL_780;
                            }
                            if (!(text == "Supreme"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_31));
                        }
                        else
                        {
                            if (!(text == "Champs Sports "))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_21));
                        }
                    }
                    else if (num != 3138249339u)
                    {
                        if (num != 3276705478u)
                        {
                            goto IL_780;
                        }
                        if (!(text == "Off-White"))
                        {
                            goto IL_780;
                        }
                        thread = new Thread(new ThreadStart(@class.method_0));
                    }
                    else
                    {
                        if (!(text == "Footaction"))
                        {
                            goto IL_780;
                        }
                        thread = new Thread(new ThreadStart(@class.method_26));
                    }
                }
                else if (num <= 3925924200u)
                {
                    if (num <= 3544959638u)
                    {
                        if (num != 3520812353u)
                        {
                            if (num != 3544959638u)
                            {
                                goto IL_780;
                            }
                            if (!(text == "JD Sports"))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_29));
                        }
                        else
                        {
                            if (!(text == "Footaction "))
                            {
                                goto IL_780;
                            }
                            thread = new Thread(new ThreadStart(@class.method_19));
                        }
                    }
                    else if (num != 3842920480u)
                    {
                        if (num != 3925924200u)
                        {
                            goto IL_780;
                        }
                        if (!(text == "Antonioli"))
                        {
                            goto IL_780;
                        }
                        thread = new Thread(new ThreadStart(@class.method_2));
                    }
                    else
                    {
                        if (!(text == "Champs Sports"))
                        {
                            goto IL_780;
                        }
                        thread = new Thread(new ThreadStart(@class.method_25));
                    }
                }
                else if (num <= 4053610095u)
                {
                    if (num != 4009715463u)
                    {
                        if (num != 4053610095u)
                        {
                            goto IL_780;
                        }
                        if (!(text == "Footlocker EU "))
                        {
                            goto IL_780;
                        }
                        thread = new Thread(new ThreadStart(@class.method_16));
                    }
                    else
                    {
                        if (!(text == "Footpatrol"))
                        {
                            goto IL_780;
                        }
                        thread = new Thread(new ThreadStart(@class.method_27));
                    }
                }
                else if (num != 4249577209u)
                {
                    if (num != 4285839398u)
                    {
                        goto IL_780;
                    }
                    if (!(text == "Lacoste PL"))
                    {
                        goto IL_780;
                    }
                    thread = new Thread(new ThreadStart(@class.method_13));
                }
                else
                {
                    if (!(text == "Lacoste CH"))
                    {
                        goto IL_780;
                    }
                    thread = new Thread(new ThreadStart(@class.method_10));
                }
IL_7A6:
                thread.IsBackground = true;
                Dictionary <int, Dictionary <string, object> > dictionary_ = MainWindow.dictionary_0;
                int key = (int)@class.jtoken_0["id"];
                Dictionary <string, object> dictionary = new Dictionary <string, object>();
                dictionary["thread"] = thread;
                dictionary["stop"]   = false;
                dictionary_[key]     = dictionary;
                thread.Start();
                MainWindow.webView_0.QueueScriptCall(string.Format("updateButton({0},true)", @class.jtoken_0["id"]));
                continue;
IL_780:
                thread = new Thread(new ThreadStart(@class.method_32));
                goto IL_7A6;
            }
        }
        catch
        {
        }
    }
示例#15
0
    // Token: 0x06000148 RID: 328 RVA: 0x0000F174 File Offset: 0x0000D374
    public static Class80 smethod_1(object object_0, Type type_0)
    {
        Class80 @class = object_0 as Class80;

        if (@class != null)
        {
            return(@class);
        }
        if (type_0 == null)
        {
            if (object_0 == null)
            {
                return(new Class90());
            }
            type_0 = object_0.GetType();
        }
        type_0 = Class37.smethod_1(type_0);
        if (type_0 == Class175.type_0)
        {
            @class = new Class90();
            if (object_0 != null && object_0.GetType() != Class175.type_0)
            {
                @class.method_1(object_0.GetType());
            }
        }
        else if (Class29.smethod_0 <Array>(type_0))
        {
            @class = new Class93();
        }
        else if (Class29.smethod_0 <string>(type_0))
        {
            @class = new Class96();
        }
        else if (Class29.smethod_0 <IntPtr>(type_0))
        {
            @class = new Class99();
        }
        else if (Class29.smethod_0 <UIntPtr>(type_0))
        {
            @class = new Class83();
        }
        else if (Class29.smethod_0 <ulong>(type_0))
        {
            @class = new Class89();
        }
        else if (Class29.smethod_0 <uint>(type_0))
        {
            @class = new Class92();
        }
        else if (Class29.smethod_0 <ushort>(type_0))
        {
            @class = new Class87();
        }
        else if (Class29.smethod_0 <long>(type_0))
        {
            @class = new Class82();
        }
        else if (Class29.smethod_0 <int>(type_0))
        {
            @class = new Class98();
        }
        else if (Class29.smethod_0 <short>(type_0))
        {
            @class = new Class94();
        }
        else if (Class29.smethod_0 <byte>(type_0))
        {
            @class = new Class88();
        }
        else if (Class29.smethod_0 <sbyte>(type_0))
        {
            @class = new Class85();
        }
        else if (Class29.smethod_0 <double>(type_0))
        {
            @class = new Class86();
        }
        else if (Class29.smethod_0 <float>(type_0))
        {
            @class = new Class91();
        }
        else if (Class29.smethod_0 <bool>(type_0))
        {
            @class = new Class97();
        }
        else if (Class29.smethod_0 <char>(type_0))
        {
            @class = new Class81();
        }
        else if (Class175.smethod_0(type_0))
        {
            Class90 class2 = new Class90();
            class2.method_1(type_0);
            @class = class2;
        }
        else
        {
            if (Class29.smethod_0 <Enum>(type_0))
            {
                Enum enum_;
                if (object_0 == null)
                {
                    if (type_0 == Class175.type_2)
                    {
                        enum_ = null;
                    }
                    else
                    {
                        enum_ = (Enum)Activator.CreateInstance(type_0);
                    }
                }
                else if (type_0 == Class175.type_2 && object_0 is Enum)
                {
                    enum_ = (Enum)object_0;
                }
                else
                {
                    enum_ = (Enum)Enum.ToObject(type_0, object_0);
                }
                return(new Class84(enum_));
            }
            if (Class29.smethod_0 <ValueType>(type_0))
            {
                if (object_0 == null)
                {
                    object object_;
                    if (type_0 == Class175.type_3)
                    {
                        object_ = null;
                    }
                    else
                    {
                        object_ = Activator.CreateInstance(type_0);
                    }
                    @class = new Class107(object_);
                }
                else
                {
                    if (object_0.GetType() != type_0)
                    {
                        try
                        {
                            object_0 = Convert.ChangeType(object_0, type_0);
                        }
                        catch
                        {
                        }
                    }
                    @class = new Class107(object_0);
                }
                return(@class);
            }
            @class = new Class90();
        }
        if (object_0 != null)
        {
            @class.vmethod_1(object_0);
        }
        return(@class);
    }