A collection of objects.
Inheritance: Glare.Assets.FolderAsset
示例#1
0
        internal PackageString(Package package, int index, BinaryReader reader)
        {
            Index = index;
            Package = package;

            Type = (PackageType)reader.ReadUInt32();
            CRC = reader.ReadUInt32();

            int nameLength = reader.ReadInt32();
            Name = reader.ReadString(nameLength, Encoding.ASCII);
        }
示例#2
0
        internal PackageFile(Package package, int index, AssetLoader loader)
            : base(package, "")
        {
            BinaryReader reader = loader.Reader;

            Index = index;

            Compression = (PackageCompression)reader.ReadInt32();
            Type = (PackageType)reader.ReadInt32();
            CRC = reader.ReadUInt32();
            Size = reader.ReadInt32();
            Offset = reader.ReadUInt32();
        }