Files
SabreTools.Serialization/SabreTools.Data.Models/VPK/Constants.cs
Matt Nadareski 7689c6dd07 Libraries
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.
2026-03-21 16:26:56 -04:00

22 lines
643 B
C#

namespace SabreTools.Data.Models.VPK
{
public static class Constants
{
public static readonly byte[] SignatureBytes = [0x34, 0x12, 0xaa, 0x55];
public static readonly string SignatureString = System.Text.Encoding.ASCII.GetString(SignatureBytes);
public const uint SignatureUInt32 = 0x55aa1234;
/// <summary>
/// Index indicating that there is no archive
/// </summary>
public const int HL_VPK_NO_ARCHIVE = 0x7fff;
/// <summary>
/// Length of a VPK checksum in bytes
/// </summary>
public const int HL_VPK_CHECKSUM_LENGTH = 0x00008000;
}
}