public void TestReadTransferStash() { TransferStashFile stash = new TransferStashFile(); using (var s = File.OpenRead("Resources\\Saves\\transfer.gst")) { stash.Read(s); } }
private void LoadTransferStashAsCharacter(string grimDawnSavesDirectory, Action <string> stateChangeCallback) { var transferStashFile = Path.Combine(grimDawnSavesDirectory, "transfer.gst"); stateChangeCallback("Loading " + transferStashFile); var transferStash = new TransferStashFile(); using (var s = File.OpenRead(transferStashFile)) { transferStash.Read(s); } _characters.Add(transferStash.ToCharacterFile()); }