PKHeX/PKHeX.Core/Saves/Access/ISaveBlock8Main.cs
Jonathan Herbert 92c964d6fa
Refactor And Deduplicate Some Switch Games Common Logic (#4187)
- Improve Epoch 1900 classes using similar logic from PlayTime7b.
- Move Time Classes into non Gen specific folder since it appears the logic is shared across a few of them.
- Use Epoch1900DateTimeValue for LastSaved in PlayTime7b since the logic is the same.
- Remove TeamIndexes9 since it is a duplicate of TeamIndexes9. Use the similar pattern like Box8 where it is reused in multiple locations.
- Add BlueberryClubRoom9 to ISaveBlock9Main since it wasn't added when the class was introduced.
- Simplify RaidSevenStar9 creation since GetBlockSafe does basically what the if-else block does.
- Change SAV8SWSH Base Raid to RaidGalar to match the same way the SAV9SV does for its Base Raid.
2024-02-23 13:19:17 -06:00

25 lines
705 B
C#

namespace PKHeX.Core;
/// <summary>
/// Interface for Accessing named blocks within a Generation 8 save file.
/// </summary>
public interface ISaveBlock8Main
{
Box8 BoxInfo { get; }
Party8 PartyInfo { get; }
MyItem8 Items { get; }
MyStatus8 MyStatus { get; }
Misc8 Misc { get; }
Zukan8 Zukan { get; }
BoxLayout8 BoxLayout { get; }
PlayTime8 Played { get; }
Fused8 Fused { get; }
Daycare8 Daycare { get; }
Record8 Records { get; }
TrainerCard8 TrainerCard { get; }
RaidSpawnList8 RaidGalar { get; }
RaidSpawnList8 RaidArmor { get; }
RaidSpawnList8 RaidCrown { get; }
TitleScreen8 TitleScreen { get; }
TeamIndexes8 TeamIndexes { get; }
}