Skip to content

Commit 26ada00

Browse files
committed
chore: reformat text storage class
1 parent f7f32be commit 26ada00

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1+
using FEZRepacker.Core.Helpers;
2+
13
namespace FEZRepacker.Core.Definitions.Game.Helpers
24
{
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+
1316
public class TextStorage
1417
{
1518
[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>>();
1721
}
1822
}

0 commit comments

Comments
 (0)