Esempio n. 1
0
            public static MapHeader ReadMapHeader(this SCMap scMap)
            {
                MapHeader mapHeader = new MapHeader();

                mapHeader.containerName = scMap.ReadString(4);
                mapHeader.int0          = scMap.ReadInt();
                mapHeader.int1          = scMap.ReadInt();
                mapHeader.int2          = scMap.ReadInt();
                mapHeader.mapSize       = scMap.ReadVector2();
                mapHeader.int3          = scMap.ReadInt();
                mapHeader.sh4           = scMap.ReadShort();
                mapHeader.preview       = scMap.ReadDDS();
                mapHeader.version       = scMap.ReadInt();
                return(mapHeader);
            }