|
| 1 | +using FEZRepacker.Core.Helpers; |
| 2 | + |
1 | 3 | namespace FEZRepacker.Core.Definitions.Game.Helpers |
2 | 4 | { |
3 | | - [XnbReaderType( |
4 | | - "Microsoft.Xna.Framework.Content.DictionaryReader`2[[" + |
5 | | - "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]," + |
6 | | - "[System.Collections.Generic.Dictionary`2[[" + |
7 | | - "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]," + |
8 | | - "[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" + |
9 | | - "]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" + |
10 | | - "]]")] |
11 | | - // Wrapper class for text storage asset type. Helps with its management. |
12 | | - // Original game reads dictionary type directly. |
| 5 | + /// <summary> |
| 6 | + /// Wrapper class for text storage asset type. Helps with its management. |
| 7 | + /// Original game reads dictionary type directly. |
| 8 | + /// </summary> |
| 9 | + [XnbReaderType("Microsoft.Xna.Framework.Content.DictionaryReader`2[" + |
| 10 | + "[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]," + |
| 11 | + "[System.Collections.Generic.Dictionary`2[" + |
| 12 | + "[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]," + |
| 13 | + "[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]" + |
| 14 | + "], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]")] |
| 15 | + |
13 | 16 | public class TextStorage |
14 | 17 | { |
15 | 18 | [XnbProperty(SkipIdentifier = true, UseConverter = true)] |
16 | | - public IDictionary<string, IDictionary<string, string>> AllResources { get; set; } |
| 19 | + public IDictionary<string, IDictionary<string, string>> AllResources { get; set; } = |
| 20 | + new OrderedDictionary<string, IDictionary<string, string>>(); |
17 | 21 | } |
18 | 22 | } |
0 commit comments