public void TestEncryptedInfo() { var githubDBDProvider = new GithubDBDProvider(); var dbcProvider = new TestDBCProvider(Directory.GetCurrentDirectory()); DBCD dbcd = new DBCD(dbcProvider, githubDBDProvider); var storage = dbcd.Load("SpellName"); foreach (var section in storage.GetEncryptedSections()) { System.Console.WriteLine($"Found encrypted secttion encrypted with key {section.Key} containing {section.Value} rows"); } }
public void TestHotfixApplying() { DBCD dbcd = new DBCD(dbcProvider, githubDBDProvider); var storage = dbcd.Load("ItemSparse"); var hotfix = new HotfixReader("hotfix.bin"); var countBefore = storage.Count; storage = storage.ApplyingHotfixes(hotfix); var countAfter = storage.Count; System.Console.WriteLine($"B: {countBefore} => A: {countAfter}"); }