Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SerializationStore.cs
Go to the documentation of this file.
2using System.IO;
3
5
6public abstract class SerializationStore : IDisposable
7{
8 public abstract ICollection Errors { get; }
9
10 public abstract void Close();
11
12 public abstract void Save(Stream stream);
13
15 {
16 Dispose(disposing: true);
17 }
18
19 protected virtual void Dispose(bool disposing)
20 {
21 if (disposing)
22 {
23 Close();
24 }
25 }
26}