mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-05-06 20:43:36 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
26 lines
662 B
C#
26 lines
662 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.PAK
|
|
{
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/PAKFile.h"/>
|
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
|
public sealed class DirectoryItem
|
|
{
|
|
/// <summary>
|
|
/// Item Name
|
|
/// </summary>
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 56)]
|
|
public string ItemName = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Item Offset
|
|
/// </summary>
|
|
public uint ItemOffset;
|
|
|
|
/// <summary>
|
|
/// Item Length
|
|
/// </summary>
|
|
public uint ItemLength;
|
|
}
|
|
}
|