public List <TAG_CARD_SET> GetDisplayableCardSets()
        {
            Class266 <TAG_CARD_SET> class2 = base.method_14 <Class266 <TAG_CARD_SET> >("GetDisplayableCardSets", Array.Empty <object>());

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #2
0
        public static List <int> GetSortedPackIds()
        {
            Class266 <int> class2 = MonoClass.smethod_15 <Class266 <int> >(TritonHs.MainAssemblyPath, "", "GameUtils", "GetSortedPackIds", Array.Empty <object>());

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #3
0
        public static List <Locale> GetForeignLocales()
        {
            Class266 <Locale> class2 = MonoClass.smethod_15 <Class266 <Locale> >(TritonHs.MainAssemblyPath, "", "Localization", "GetForeignLocales", Array.Empty <object>());

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #4
0
        public List <int> GetSubCardIDs()
        {
            Class266 <int> class2 = base.method_14 <Class266 <int> >("GetSubCardIDs", Array.Empty <object>());

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #5
0
        public List <int> GetCollectibleCardDbIds()
        {
            Class266 <int> class2 = base.method_14 <Class266 <int> >("GetCollectibleCardDbIds", Array.Empty <object>());

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #6
0
        public static List <Marshaled_TargetEntityInfo> GetMarshaledEntitiesInPlay()
        {
            Class266 <Marshaled_TargetEntityInfo> class2 = MonoClass.smethod_15 <Class266 <Marshaled_TargetEntityInfo> >(TritonHs.MainAssemblyPath, "", "PlayErrors", "GetMarshaledEntitiesInPlay", Array.Empty <object>());

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #7
0
        public List <long> GetNoticeIDs()
        {
            Class266 <long> class2 = base.method_14 <Class266 <long> >("GetNoticeIDs", Array.Empty <object>());

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #8
0
        public static List <TAG_CLASS> GetClassChallengeHeroClasses(int adventureId, int wingId)
        {
            object[]             objArray1 = new object[] { adventureId, wingId };
            Class266 <TAG_CLASS> class2    = MonoClass.smethod_15 <Class266 <TAG_CLASS> >(TritonHs.MainAssemblyPath, "", "GameUtils", "GetClassChallengeHeroClasses", objArray1);

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #9
0
        public List <float> RandomizeRevealTimes(int count, float revealSec, float nextRevealSecMin, float nextRevealSecMax)
        {
            object[]         objArray1 = new object[] { count, revealSec, nextRevealSecMin, nextRevealSecMax };
            Class266 <float> class2    = base.method_14 <Class266 <float> >("RandomizeRevealTimes", objArray1);

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #10
0
        public static List <Marshaled_SourceEntityInfo> GetMarshaledSubCards(Triton.Game.Mapping.Entity source)
        {
            object[] objArray1 = new object[] { source };
            Class266 <Marshaled_SourceEntityInfo> class2 = MonoClass.smethod_15 <Class266 <Marshaled_SourceEntityInfo> >(TritonHs.MainAssemblyPath, "", "PlayErrors", "GetMarshaledSubCards", objArray1);

            if (class2 != null)
            {
                return(class2.method_25());
            }
            return(null);
        }
Example #11
0
 internal Class266 method_6(Type A_0)
 {
     for (int i = 0; i < this.class1063_0.Count; i++)
     {
         Class266 class2 = this.class1063_0.method_0(i);
         if (class2.GetType() == A_0)
         {
             return(class2);
         }
     }
     return(null);
 }
Example #12
0
 internal Class266 method_4(EscherRecordType A_0)
 {
     for (int i = 0; i < this.class1063_0.Count; i++)
     {
         Class266 class2 = this.class1063_0.method_0(i);
         if (class2.method_3().method_8() == A_0)
         {
             return(class2);
         }
     }
     return(null);
 }
Example #13
0
    private Class277 method_3(ShapeGroup A_0, EscherShapeKind A_1)
    {
        Class277 class2 = new Class277();
        Class273 class3 = this.method_6(A_0, A_1);

        class2.method_7().Add(class3);
        for (IDocumentObject obj2 = A_0.FirstChild; obj2 != null; obj2 = obj2.NextSibling)
        {
            Class266 class4 = this.method_1((ShapeBase)obj2, EscherShapeKind.Child);
            class2.method_7().Add(class4);
        }
        return(class2);
    }
Example #14
0
    internal ShapeBase method_0(Class266 A_0)
    {
        int num = 0x11;

        switch (A_0.method_3().method_8())
        {
        case EscherRecordType.ShapeGroupContainer:
            return(this.method_2((Class277)A_0));

        case EscherRecordType.ShapeContainer:
            return(this.method_4((Class273)A_0));
        }
        throw new InvalidOperationException(BookmarkStart.b("戶圸债匼倾㙀ⵂ敄Ɇ㩈⡊╌⩎⍐獒❔㉖㩘㑚⽜㭞你", num));
    }
Example #15
0
    internal void method_2(BinaryReader A_0, int A_1)
    {
        long num = A_0.BaseStream.Position + A_1;

        num = Math.Min(num, A_0.BaseStream.Length);
        while (A_0.BaseStream.Position < num)
        {
            Class266 class2 = Class1062.smethod_0(A_0);
            if (class2 != null)
            {
                this.Add(class2);
            }
        }
    }
Example #16
0
    private void method_10(Class276 A_0)
    {
        int       num       = 14;
        Class658  class2    = new Class658(this.document_0, this.class274_0.method_14(), A_0.method_13());
        Class931  class3    = new Class931(class2);
        Hashtable hashtable = this.method_11(A_0.method_14());

        for (int i = 0; i < A_0.method_8(); i++)
        {
            Class266 class4 = A_0.method_9(i);
            switch (class4.method_3().method_8())
            {
            case EscherRecordType.ShapeGroupContainer:
            {
                Class277 class6 = (Class277)class4;
                if (class6.method_11().method_10() && !class6.method_11().method_12())
                {
                    smethod_1(class6, class3, hashtable);
                }
                break;
            }

            case EscherRecordType.ShapeContainer:
            {
                Class273 class5 = (Class273)class4;
                if (class5.method_11().method_24() && !class5.method_11().method_12())
                {
                    this.shapeObject_0 = class3.method_4(class5);
                }
                break;
            }

            case EscherRecordType.SolverContainer:
            case EscherRecordType.Dg:
            case EscherRecordType.RegroupItems:
                break;

            case EscherRecordType.Dgg:
            case EscherRecordType.Bse:
                goto Label_00FF;

            default:
                goto Label_00FF;
            }
        }
        return;

Label_00FF:
        throw new InvalidOperationException(BookmarkStart.b("愳堵匷吹医䤽⸿扁㙃⍅⭇╉㹋⩍灏♑ⵓ♕㵗穙㕛そ䁟͡੣䙥ⵧᥩཫ٭ᕯqᝳṵᵷࡹ屻᩽ꊋ", num));
    }
Example #17
0
    internal static Class266 smethod_0(BinaryReader A_0)
    {
        Class768 class2     = new Class768(A_0);
        Stream   baseStream = A_0.BaseStream;

        if ((class2.method_10() < 0) || ((baseStream.Position + class2.method_10()) > baseStream.Length))
        {
            class2.method_11((int)(baseStream.Length - baseStream.Position));
        }
        Class266 class3 = smethod_1(class2);

        class3.method_1(class2, A_0);
        return(class3);
    }
Example #18
0
 // Token: 0x060023EF RID: 9199 RVA: 0x00079CC4 File Offset: 0x00077EC4
 private void method_7(string logFilePath)
 {
     if (!File.Exists(logFilePath))
     {
         return;
     }
     try
     {
         FileInfo fileInfo = new FileInfo(logFilePath);
         if (fileInfo.Length >= (long)Class367.int_0)
         {
             string text = Class266.smethod_0(this.string_24, this.string_22);
             bool   flag = false;
             try
             {
                 using (FileStream fileStream = fileInfo.OpenRead())
                 {
                     using (FileStream fileStream2 = File.Open(text, FileMode.Create, FileAccess.Write, FileShare.None))
                     {
                         using (GZipStream gzipStream = new GZipStream(fileStream2, CompressionMode.Compress))
                         {
                             fileStream.CopyTo(gzipStream);
                         }
                     }
                 }
                 flag = true;
             }
             catch
             {
                 flag = false;
                 if (File.Exists(text))
                 {
                     File.Delete(text);
                 }
             }
             if (flag)
             {
                 if (this.eventHandler_0 != null)
                 {
                     this.eventHandler_0(this, new EventArgs25(text));
                 }
                 File.Delete(logFilePath);
             }
         }
     }
     catch
     {
     }
 }
Example #19
0
 private Class74 imethod_0(int A_0)
 {
     for (int i = 0; i < base.method_8(); i++)
     {
         Class266 class2 = base.method_7().method_0(i);
         if (class2 is Class286)
         {
             Class286 class3 = (Class286)class2;
             if (class3.int_3 == A_0)
             {
                 return(class3.method_4());
             }
         }
     }
     return(null);
 }
 // Token: 0x0600222A RID: 8746 RVA: 0x000742F4 File Offset: 0x000724F4
 public static void smethod_0(string logDirectory)
 {
     if (!Class335.bool_0)
     {
         if (string.IsNullOrEmpty(logDirectory))
         {
             throw new NullReferenceException(Class335.string_6);
         }
         if (!Directory.Exists(logDirectory))
         {
             throw new DirectoryNotFoundException(Class335.string_5);
         }
         Class335.string_11  = Class266.smethod_1(logDirectory, Class335.DateTimeStamp + Class335.string_4, Class335.string_0);
         Class335.class133_0 = new Class335.Class133(Class335.string_11);
         Class335.bool_0     = true;
     }
 }
Example #21
0
 internal Class272 method_5(Class266 A_0)
 {
     for (int i = 0; i < this.class1063_0.Count; i++)
     {
         Class266 class3 = this.class1063_0.method_0(i);
         if (class3 == A_0)
         {
             return(this);
         }
         if (class3 is Class272)
         {
             Class272 class2 = ((Class272)class3).method_5(A_0);
             if (class2 != null)
             {
                 return(class2);
             }
         }
     }
     return(null);
 }
Example #22
0
 private static void smethod_1(Class272 A_0, Class289 A_1)
 {
     for (int i = 0; i < A_0.method_7().Count; i++)
     {
         Class266 class3 = A_0.method_7().method_0(i);
         if (class3 is Class279)
         {
             Class279 class2 = (Class279)class3;
             if (!class2.method_12() && !class2.method_24())
             {
                 A_1.method_7(A_1.method_6() + 1);
             }
             if (!class2.method_12())
             {
                 A_1.method_9(Math.Max(A_1.method_8(), class2.method_4()));
             }
         }
         if (class3 is Class272)
         {
             smethod_1((Class272)class3, A_1);
         }
     }
 }
Example #23
0
 internal void method_10(int A_0, Class266 A_1)
 {
     this.class1063_0.method_1(A_0, A_1);
 }
 public override void Visit(Class266 c) { }
 public abstract void Visit(Class266 c);
Example #26
0
    private void method_5(Class273 A_0, ShapeBase A_1)
    {
        Class291 class2 = null;

        for (int i = 0; i < A_0.method_8(); i++)
        {
            Class279 class4;
            Class266 class3 = A_0.method_9(i);
            if (class3 != null)
            {
                switch (class3.method_3().method_8())
                {
                case EscherRecordType.ShapeGroup:
                {
                    Class285 class5 = (Class285)class3;
                    A_1.CoordOrigin = class5.method_4();
                    A_1.method_56(class5.method_6());
                    break;
                }

                case EscherRecordType.Shape:
                    class4 = (Class279)class3;
                    A_1.Id = class4.method_4();
                    if (!class4.method_6())
                    {
                        goto Label_00AB;
                    }
                    A_1.SetShapeType(ShapeType.Group);
                    goto Label_00C9;

                case EscherRecordType.ShapeOptions:
                case EscherRecordType.ShapeOptionsEx:
                    goto Label_00D7;

                case EscherRecordType.ChildAnchor:
                    goto Label_00F0;
                }
            }
            continue;
Label_00AB:
            if (class4.method_14())
            {
                A_1.SetShapeType(ShapeType.OleObject);
            }
            else
            {
                A_1.SetShapeType(class4.method_30());
            }
Label_00C9:
            A_1.FlipOrientation = class4.method_32();
            continue;
Label_00D7:
            this.class930_0.method_0(((Class287)class3).method_4(), A_1);
            continue;
Label_00F0:
            class2 = (Class291)class3;
        }
        if (class2 != null)
        {
            Class265.smethod_2(A_1, (double)class2.method_4(), (double)class2.method_6(), (double)class2.method_8(), (double)class2.method_10());
        }
    }
Example #27
0
 public void method_1(int A_0, Class266 A_1)
 {
     base[A_0] = A_1;
 }