From 2367fbd69a49519c49eed701aee200f0e7e8780f Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 16 Oct 2019 18:49:01 -0700 Subject: [PATCH] Add docs for super training block --- .../Substructures/Gen6/SuperTrainBlock.cs | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 PKHeX.Core/Saves/Substructures/Gen6/SuperTrainBlock.cs diff --git a/PKHeX.Core/Saves/Substructures/Gen6/SuperTrainBlock.cs b/PKHeX.Core/Saves/Substructures/Gen6/SuperTrainBlock.cs new file mode 100644 index 000000000..f2809d13b --- /dev/null +++ b/PKHeX.Core/Saves/Substructures/Gen6/SuperTrainBlock.cs @@ -0,0 +1,21 @@ +namespace PKHeX.Core +{ + public class SuperTrainBlock : SaveBlock + { + public SuperTrainBlock(SAV6XY sav, int offset) : base(sav) => Offset = offset; + public SuperTrainBlock(SAV6AO sav, int offset) : base(sav) => Offset = offset; + + // Structure: + // 8 bytes ??? (flags?) + // float[48] recordScore1; // 0x08, 4byte/entry + // float[48] recordScore2; // 0xC8, 4byte/entry + // SS-F-G[48] recordHolder1; // 0x188, 4byte/entry + // SS-F-G[48] recordHolder2; // 0x248, 4byte/entry + // byte[12] bags? // 0x308 + // u32 ??? // 0x314 + + // 0x318 total size + + // SS-F-G = u16 species, u8 form, u8 gender + } +} \ No newline at end of file