NHSE/NHSE.Core/Save/Offsets/PostBoxOffsets110.cs
Josh (vector_cmdr) 41841e5bfb
Feat: Post Box Editing (#744)
Feature:
Adds support for postbox.dat via Post Box Editor and accompanying components:
- Add Mail class.
- Add PostBox class and corresponding offset classes.
- Add wrap suppression option to ItemEditor.
- Add wrapping and box dictionary to ItemWrapping class.
- Add new language strings associated with forms and types.

Fix:
Resolved overwrite for bad dumps on all imports by adding UsageCompatibilityOffset and UsageCompatibility() added to Design classes. Transparent pixel check method added to PatternEditor and LoadPattern() altered to write the correct compatibility bytes based on type and transparency.
2026-02-10 01:32:16 +11:00

16 lines
638 B
C#

using System;
namespace NHSE.Core;
/// <summary>
/// <inheritdoc cref="PostBoxOffsets"/>
/// </summary>
public sealed class PostBoxOffsets110 : PostBoxOffsets
{
// GSavePostBox
private const int GSaveVersion = 0x0; // @0x0 size 0x100, align 4
public override int s_7b602b39 => GSaveVersion + 0x100; // (_d35a9251) u32 "Code" size 0x4, align 4. In size 0x10 container
public override int MailList => GSaveVersion + 0x110; // Beginning of mail list
public override int FontTable => GSaveVersion + 0x46E60; // The forbidden alphabetti soup
public override int LatestUniqueId => 0x47420; // Next post index slot
}