Esempio n. 1
0
        public List <string> GetExtensions()
        {
            Class245 class2 = base.method_14 <Class245>("GetExtensions", Array.Empty <object>());

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Esempio n. 2
0
        public override void imethod_0(Interface8 reader)
        {
            this.class242_0 = Class242.smethod_0(reader);
            Class245 class245 = new Class245();

            this.class242_1    = (Class242)class245;
            class245.Direction = reader.imethod_19();
            this.point3D_0     = class245.Position = reader.imethod_18();
            this.method_0(reader);
        }
Esempio n. 3
0
 public List<string> NotifyOfKeywordHelpPanelDisplay(Triton.Game.Mapping.Entity entity)
 {
     object[] objArray1 = new object[] { entity };
     Class245 class2 = base.method_14<Class245>("NotifyOfKeywordHelpPanelDisplay", objArray1);
     if (class2 != null)
     {
         return class2.method_25();
     }
     return null;
 }
Esempio n. 4
0
        public static List <string> SplitLines(string str)
        {
            object[] objArray1 = new object[] { str };
            Class245 class2    = MonoClass.smethod_15 <Class245>(TritonHs.MainAssemblyPath, "", "StringUtils", "SplitLines", objArray1);

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Esempio n. 5
0
        public override void imethod_1(Interface9 writer)
        {
            writer.imethod_15();
            Class242.smethod_1(writer, this.class242_0);
            writer.imethod_15();
            Class245 class2421 = (Class245)this.class242_1;

            writer.imethod_18(class2421.Direction);
            writer.imethod_15();
            writer.imethod_17(this.point3D_0);
            writer.imethod_15();
            this.method_1(writer);
        }
Esempio n. 6
0
        internal static IEnumerable <IntPtr> smethod_1(Process process_0)
        {
            var @class = new Class245();

            @class.list_0 = new List <IntPtr>();
            foreach (object obj in process_0.Threads)
            {
                int id = ((ProcessThread)obj).Id;
                EnumThreadDelegate lpfn;
                if ((lpfn = @class.enumThreadDelegate_0) == null)
                {
                    lpfn = (@class.enumThreadDelegate_0 = @class.method_0);
                }
                EnumThreadWindows(id, lpfn, IntPtr.Zero);
            }
            return(@class.list_0);
        }
Esempio n. 7
0
    internal static bool smethod_10(Class857 A_0, DocumentObject A_1, CharacterFormat A_2, Style A_3)
    {
        int num = 3;

        if (!(A_1 is ShapeObject) || (A_1 is ShapeGroup))
        {
            Class396       class3        = A_0.method_11();
            DocumentObject lastParagraph = A_1;
            string         str3          = class3.method_0();
            string         str           = class3.method_1();
            if ((A_1 is Body) && (((str3 == BookmarkStart.b("䴨太䰬堮", num)) && (str == BookmarkStart.b("䠨", num))) || (((((str == BookmarkStart.b("丨", num)) || (str == BookmarkStart.b("䔨䈪䌬䨮", num))) || ((str == BookmarkStart.b("䨨䐪䌬䄮吰倲䄴堶䬸", num)) || (str == BookmarkStart.b("嬨个丬嬮", num)))) || (((str == BookmarkStart.b("䨨䈪弬䰮崰嘲", num)) || (str == BookmarkStart.b("䰨䜪䄬䘮䄰䀲倴", num))) || ((str == BookmarkStart.b("夨䐪䄬嘮崰娲嬴制", num)) || (str == BookmarkStart.b("夨䐪䄬嘮嘰尲嬴", num))))) || ((((str == BookmarkStart.b("嬨个䨬娮崰刲䜴ᨶ䤸吺儼䘾♀ⱂ⭄", num)) || (str == BookmarkStart.b("夨䨪夬䜮", num))) || ((str == BookmarkStart.b("夨䨪䨬䨮ᰰ䜲崴䈶吸夺匼帾⡀⽂", num)) || (str == BookmarkStart.b("䐨个䰬尮䐰䄲倴", num)))) || (((str == BookmarkStart.b("䨨䨪崬嬮堰尲嬴", num)) || (str == BookmarkStart.b("娨䠪䠬䄮吰", num))) || (str == BookmarkStart.b("䨨帪帬嬮帰帲ᠴ䐶儸娺䴼娾", num)))))))
            {
                if (A_0.method_36().Count == 0)
                {
                    Body body = (Body)A_1;
                    if (body.LastParagraph == null)
                    {
                        body.method_13(new Paragraph(A_0.method_9()));
                        A_0.method_36().Add(body.LastParagraph);
                    }
                    lastParagraph = (DocumentObject)body.LastParagraph;
                }
                else
                {
                    lastParagraph = (Paragraph)A_0.method_36()[A_0.method_36().Count - 1];
                }
            }
            string key = class3.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_174 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x12);
                    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);
                    dictionary1.Add(BookmarkStart.b("夨䐪䄬嘮嘰尲嬴", num), 11);
                    dictionary1.Add(BookmarkStart.b("夨䨪夬䜮", num), 12);
                    dictionary1.Add(BookmarkStart.b("嬨个䨬娮崰刲䜴ᨶ䤸吺儼䘾♀ⱂ⭄", num), 13);
                    dictionary1.Add(BookmarkStart.b("夨䨪䨬䨮ᰰ䜲崴䈶吸夺匼帾⡀⽂", num), 14);
                    dictionary1.Add(BookmarkStart.b("䐨个䰬尮䐰䄲倴", num), 15);
                    dictionary1.Add(BookmarkStart.b("䨨䨪崬嬮堰尲嬴", num), 0x10);
                    dictionary1.Add(BookmarkStart.b("娨䠪䠬䄮吰", num), 0x11);
                    Class1160.dictionary_174 = dictionary1;
                }
                if (Class1160.dictionary_174.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        Class745.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 1:
                        return(smethod_11(A_0, lastParagraph));

                    case 2:
                        Class746.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 3:
                        Class1144.smethod_0(A_0, lastParagraph, A_2, A_3);
                        return(true);

                    case 4:
                        Class244.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 5:
                        Class245.smethod_0(A_0, lastParagraph, A_2);
                        return(true);

                    case 6:
                        A_0.method_56(true);
                        Class1051.smethod_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 7:
                    case 8:
                        A_0.method_56(true);
                        Class473.smethod_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 9:
                    case 10:
                    case 11:
                    {
                        A_0.method_56(true);
                        Class1097 class2 = new Class1097();
                        class2.method_23(class3.method_1() == BookmarkStart.b("夨䐪䄬嘮崰娲嬴制", num));
                        class2.method_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);
                    }

                    case 12:
                        A_0.method_56(true);
                        new Class1143().method_0(A_0, lastParagraph, A_2);
                        A_0.method_56(false);
                        return(true);

                    case 14:
                    case 15:
                    case 0x10:
                    case 0x11:
                        return(true);
                    }
                }
            }
        }
        return(false);
    }
 public abstract void Visit(Class245 c);
 public override void Visit(Class245 c) { }