Example #1
0
 private SAV8SWSH(byte[] data, IReadOnlyList <SCBlock> blocks) : base(data)
 {
     Data      = Array.Empty <byte>();
     AllBlocks = blocks;
     Blocks    = new SaveBlockAccessor8SWSH(this);
     Initialize();
 }
Example #2
0
 public SAV8SWSH()
 {
     AllBlocks = Meta8.GetBlankDataSWSH();
     Blocks    = new SaveBlockAccessor8SWSH(this);
     Initialize();
     ClearBoxes();
 }
Example #3
0
 public SAV8SWSH(byte[] data) : base(data)
 {
     Data         = Array.Empty <byte>();
     AllBlocks    = SwishCrypto.Decrypt(data);
     Blocks       = new SaveBlockAccessor8SWSH(this);
     SaveRevision = Zukan.GetRevision();
     Initialize();
 }
Example #4
0
 private SAV8SWSH(IReadOnlyList <SCBlock> blocks) : base(Array.Empty <byte>())
 {
     Data         = Array.Empty <byte>();
     AllBlocks    = blocks;
     Blocks       = new SaveBlockAccessor8SWSH(this);
     SaveRevision = Zukan.GetRevision();
     Initialize();
 }