コード例 #1
0
        internal void ReadObjectWithMap(BinaryHeaderEnum binaryHeaderEnum)
        {
            BinaryObjectWithMap bowm = new BinaryObjectWithMap();

            bowm.binaryHeaderEnum = binaryHeaderEnum;
            bowm.Read(reader);
            Dumper.Dump("ObjectWithMap", bowm);
            mapIdToMapTable[bowm.objectId] = bowm;
            ReadAndDump(new ArrayOrClassEnumerator(bowm));
        }
コード例 #2
0
        internal ArrayOrClassEnumerator(BinaryObjectWithMap bowm)
        {
            currentItem = 0;
            int count = bowm.memberNames.Length;

            memberNames    = new string[count];
            primitiveTypes = new InternalPrimitiveTypeE[count];
            for (int i = 0; i < count; i++)
            {
                memberNames[i]    = bowm.name + "." + bowm.memberNames[i];
                primitiveTypes[i] = InternalPrimitiveTypeE.Invalid;
            }
        }