Esempio n. 1
0
        private DATMesh[] ParseMeshes(uint meshCount, ExtendedBinaryReader br)
        {
            var meshes = new List <DATMesh>();

            for (int i = 0; i < meshCount; ++i)
            {
                var mesh = new DATMesh();
                br.BaseStream.Seek(8, SeekOrigin.Current);

                mesh.Name = br.ReadStringWithUInt16Length();
            }

            return(meshes.ToArray());
        }