diff options
| author | Wither OrNot | 2025-04-07 23:23:19 +0000 |
|---|---|---|
| committer | Wither OrNot | 2025-04-07 23:23:19 +0000 |
| commit | b7868ff296016917c38657474117d5ca820b2312 (patch) | |
| tree | 5c3dd53fe258c322c14dc2d69b8864a98de91a4a /LibTSforge/TokenStore/Common.cs | |
| parent | cb5c97d443982e547a8dd5a76032de8fa6859b61 (diff) | |
| parent | 3a3ac06ca3715127475c7a2c7b3f0782e1690dfb (diff) | |
| download | TSforge-b7868ff296016917c38657474117d5ca820b2312.zip | |
Merge branch 'longhorn' of https://github.com/massgravel/TSforge into longhorn1.1.0-longhorn+1
Diffstat (limited to 'LibTSforge/TokenStore/Common.cs')
| -rw-r--r-- | LibTSforge/TokenStore/Common.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibTSforge/TokenStore/Common.cs b/LibTSforge/TokenStore/Common.cs index 1dda7e7..d7133f2 100644 --- a/LibTSforge/TokenStore/Common.cs +++ b/LibTSforge/TokenStore/Common.cs @@ -14,7 +14,7 @@ namespace LibTSforge.TokenStore public class TokenMeta { public string Name; - public Dictionary<string, string> Data = new Dictionary<string, string>(); + public readonly Dictionary<string, string> Data = new Dictionary<string, string>(); public byte[] Serialize() { @@ -37,7 +37,7 @@ namespace LibTSforge.TokenStore return writer.GetBytes(); } - public void Deserialize(byte[] data) + private void Deserialize(byte[] data) { BinaryReader reader = new BinaryReader(new MemoryStream(data)); reader.ReadInt32(); |
