Exemple #1
0
    internal int method_6(BinaryWriter A_0)
    {
        int position = (int)A_0.BaseStream.Position;

        for (int i = 0; i < base.Count; i++)
        {
            Class379 byIndex = (Class379)base.GetByIndex(i);
            int      num4    = byIndex.method_0();
            if (smethod_2(byIndex.method_0()))
            {
                num4 |= 0x4000;
            }
            if (byIndex.vmethod_0())
            {
                num4 |= 0x8000;
            }
            A_0.Write((short)num4);
            A_0.Write(byIndex.vmethod_0() ? ((Class380)byIndex).method_1() : byIndex.vmethod_1());
        }
        for (int j = 0; j < base.Count; j++)
        {
            Class379 class3 = (Class379)base.GetByIndex(j);
            if (class3.vmethod_0())
            {
                ((Class380)class3).vmethod_3(A_0);
            }
        }
        return(((int)A_0.BaseStream.Position) - position);
    }
Exemple #2
0
 internal void method_2(Class379 A_0)
 {
     base.Add(A_0.method_0(), A_0);
 }