Example #1
0
        public virtual bool ParseNetFieldExportGroup(ChunkArchive ar)
        {
            string a         = ar.ReadString();
            uint   packedInt = ar.ReadIntPacked();
            uint   count     = ar.ReadIntPacked();

            for (int i = 0; i < count; i++)
            {
                ar.ReadNetFieldExport();
            }
            return(true);
        }
Example #2
0
        public virtual bool ParseNetFieldExports(ChunkArchive reader)
        {
            uint exportCount = reader.ReadIntPacked();

            for (int i = 0; i < exportCount; i++)
            {
                uint pathNameIndex = reader.ReadIntPacked();
                uint wasExported   = reader.ReadIntPacked();
                if (wasExported > 0)
                {
                    string pathName   = reader.ReadString();
                    uint   numExports = reader.ReadIntPacked();
                }
                else
                {
                    //We does nothing here but Unreal does something
                }
                var netExports = reader.ReadNetFieldExport();
            }
            return(true);
        }