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