Files
SabreTools.Serialization/SabreTools.Data.Models/ZArchive/FileDirectoryEntry.cs
Deterous 5bb8557555 ZArchive support (#75)
* ZArchive support

* Fix offset record format

* Simplfiy Extensions

* Delete unused writers and test data

* Rework reader

* Fix build
2026-04-02 02:18:47 -04:00

18 lines
539 B
C#

namespace SabreTools.Data.Models.ZArchive
{
/// <summary>
/// Node in the FileTree
/// Represents either a file or a directory
/// </summary>
/// <see href="https://github.com/Exzap/ZArchive/"/>
public abstract class FileDirectoryEntry
{
/// <summary>
/// MSB is the type flag, 0 is Directory, 1 is File
/// Remaining 31 bits are the offset in the NameTable
/// </summary>
/// <remarks>Big-endian</remarks>
public uint NameOffsetAndTypeFlag { get; set; }
}
}