mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-15 18:53:03 +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.
22 lines
643 B
C#
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;
|
|
}
|
|
}
|