Ejemplo n.º 1
0
        public static void Array(DumpItem d, int count, out int a_from, out int a_to, string typeName = "Array")
        {
            d.SetupHeader(EDIType.Array, typeName);

            d.ArraySize = count;

            int a_size = ( int )count;

            a_from = System.Math.Min(d.ArrayShowFrom, a_size - 1);
            if (a_from < 0)
            {
                a_from = 0;
            }
            a_to = d.ArrayShowTo < 0 ? a_size - 1 : System.Math.Min(d.ArrayShowTo, a_size - 1);
        }
Ejemplo n.º 2
0
 public static void Struct(DumpItem d, string name)
 {
     d.SetupHeader(EDIType.Struct, name);
 }