Esempio n. 1
0
 internal Class1090(string A_0, bool A_1, Guid A_2) : this()
 {
     this.string_0       = A_0;
     this.dirEntryType_0 = A_1 ? DirEntryType.Root : DirEntryType.Storage;
     this.guid_0         = A_2;
     this.uint_4         = A_1 ? uint.MaxValue : 0;
 }
Esempio n. 2
0
 internal Class1090(string A_0, DirEntryType A_1, long A_2) : this()
 {
     this.string_0       = A_0;
     this.dirEntryType_0 = A_1;
     this.long_2         = A_2;
     this.uint_4         = uint.MaxValue;
 }
Esempio n. 3
0
 internal Class1090()
 {
     this.dirEntryType_0  = DirEntryType.Invalid;
     this.dirEntryColor_0 = DirEntryColor.Black;
     this.uint_2          = uint.MaxValue;
     this.uint_3          = uint.MaxValue;
     this.uint_1          = uint.MaxValue;
     this.guid_0          = Guid.Empty;
 }
Esempio n. 4
0
    internal Class1090(BinaryReader A_0)
    {
        int num3     = 9;
        int position = (int)A_0.BaseStream.Position;

        byte[] bytes = A_0.ReadBytes(0x40);
        if (bytes.Length >= 0x40)
        {
            int num2 = A_0.ReadUInt16();
            if (num2 <= 0x40)
            {
                if (num2 > 0)
                {
                    if (num2 > bytes.Length)
                    {
                        throw new InvalidOperationException(BookmarkStart.b("笮夰嘲ᔴ䐶䴸䤺䠼尾㕀㙂㝄≆ⵈ歊㹌㭎㹐⅒㑔ざ㱘筚㹜ぞ፠ᅢၤᝦᵨ๪६䅮", num3));
                    }
                    this.string_0 = Encoding.Unicode.GetString(bytes, 0, num2 - 2);
                }
                else
                {
                    this.string_0 = null;
                }
                this.dirEntryType_0 = (DirEntryType)A_0.ReadByte();
                if (this.dirEntryType_0 == DirEntryType.Invalid)
                {
                    A_0.BaseStream.Position = position + 0x80;
                }
                else
                {
                    this.dirEntryColor_0 = (DirEntryColor)A_0.ReadByte();
                    this.uint_2          = A_0.ReadUInt32();
                    this.uint_3          = A_0.ReadUInt32();
                    this.uint_1          = A_0.ReadUInt32();
                    this.guid_0          = new Guid(A_0.ReadBytes(0x10));
                    this.uint_5          = A_0.ReadUInt32();
                    this.long_0          = A_0.ReadInt64();
                    if (Class567.smethod_46(A_0, 20))
                    {
                        this.long_1 = A_0.ReadInt64();
                        this.uint_4 = A_0.ReadUInt32();
                        this.long_2 = A_0.ReadUInt32();
                        A_0.ReadInt32();
                    }
                }
            }
        }
    }