-
Notifications
You must be signed in to change notification settings - Fork 0
/
TextTable.cs
46 lines (37 loc) · 1001 Bytes
/
TextTable.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System.IO;
public class TextTable
{
public int Count => Groups.Count;
public List<TextGroup> Groups { get; set; }
public TextTable()
{
Groups = new List<TextGroup>();
}
public TextTable(List<TextGroup> groups)
{
Groups = groups;
}
}
public class TextGroup
{
public int Count => Entries.Count;
public List<TextEntry> Entries { get; set; }
public TextGroup()
{
Entries = new List<TextEntry>();
}
public TextGroup(List<TextEntry> entries)
{
Entries = entries;
}
}
public class TextEntry
{
// These are typically just ascending ushorts.
// NO idea what they're for. (Are they storing the index or something? lol)
public int Unknown { get; set; }
public string Text { get; set; } = string.Empty;
public string MetaOriginalText { get; set; } = string.Empty;
public int MetaOriginalAddress { get; set; }
public string MetaOriginalHex { get; set; } = string.Empty;
}