PKHeX/PKHeX.Core/Saves/Blocks/Gen3/ISaveBlock3Small.cs
Kurt 94f3937f2f Refactor: extract gen3 save block structures
Changed: Inventory editor no longer needs to clone the save file on GUI open
Changed: some method signatures have moved from SAV3* to the specific block
Allows the block structures to be used without a SAV3 object
Allows the Inventory editor to open from a blank save file.
2026-03-14 13:40:17 -05:00

37 lines
1.1 KiB
C#

using System;
using System.ComponentModel;
namespace PKHeX.Core;
[TypeConverter(typeof(ExpandableObjectConverter))]
public interface ISaveBlock3Small
{
Memory<byte> Raw { get; }
Span<byte> Data { get; }
Span<byte> OriginalTrainerTrash { get; }
byte Gender { get; set; }
uint ID32 { get; set; }
ushort TID16 { get; set; }
ushort SID16 { get; set; }
int PlayedHours { get; set; }
int PlayedMinutes { get; set; }
int PlayedSeconds { get; set; }
byte PlayedFrames { get; set; }
byte OptionsButtonMode { get; set; }
int TextSpeed { get; set; }
byte OptionWindowFrame { get; set; }
bool OptionSoundStereo { get; set; }
bool OptionBattleStyle { get; set; }
bool OptionBattleScene { get; set; }
bool OptionIsRegionMapZoom { get; set; }
byte PokedexSort { get; set; }
byte PokedexMode { get; set; }
byte PokedexNationalMagicRSE { get; set; }
byte PokedexNationalMagicFRLG { get; set; }
uint DexPIDUnown { get; set; }
uint DexPIDSpinda { get; set; }
Span<byte> EReaderTrainer { get; }
uint SecurityKey { get; }
}