mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-20 13:13:02 +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.
29 lines
697 B
C#
29 lines
697 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.PFF
|
|
{
|
|
/// <summary>
|
|
/// PFF file footer
|
|
/// </summary>
|
|
/// <see href="https://devilsclaws.net/download/file-pff-new-bz2"/>
|
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
|
public sealed class Footer
|
|
{
|
|
/// <summary>
|
|
/// Current system IP
|
|
/// </summary>
|
|
public uint SystemIP;
|
|
|
|
/// <summary>
|
|
/// Reserved
|
|
/// </summary>
|
|
public uint Reserved;
|
|
|
|
/// <summary>
|
|
/// King tag
|
|
/// </summary>
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
|
|
public string KingTag = string.Empty;
|
|
}
|
|
}
|