mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-21 21:59:47 +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.
37 lines
1.2 KiB
C#
37 lines
1.2 KiB
C#
namespace SabreTools.Data.Models.PFF
|
|
{
|
|
/// <see href="https://devilsclaws.net/download/file-pff-new-bz2"/>
|
|
public static class Constants
|
|
{
|
|
public static readonly byte[] Version0SignatureBytes = [0x50, 0x46, 0x46, 0x30];
|
|
|
|
public const string Version0SignatureString = "PFF0";
|
|
|
|
public const uint Version0HSegmentSize = 0x00000020;
|
|
|
|
// Version 1 not confirmed
|
|
// public const string Version1SignatureString = "PFF1";
|
|
// public const uint Version1SegmentSize = 0x00000020;
|
|
|
|
public static readonly byte[] Version2SignatureBytes = [0x50, 0x46, 0x46, 0x32];
|
|
|
|
public const string Version2SignatureString = "PFF2";
|
|
|
|
public const uint Version2SegmentSize = 0x00000020;
|
|
|
|
public static readonly byte[] Version3SignatureBytes = [0x50, 0x46, 0x46, 0x33];
|
|
|
|
public const string Version3SignatureString = "PFF3";
|
|
|
|
public const uint Version3SegmentSize = 0x00000024;
|
|
|
|
public static readonly byte[] Version4SignatureBytes = [0x50, 0x46, 0x46, 0x34];
|
|
|
|
public const string Version4SignatureString = "PFF4";
|
|
|
|
public const uint Version4SegmentSize = 0x00000028;
|
|
|
|
public const string FooterKingTag = "KING";
|
|
}
|
|
}
|