Elin Decompiled Documentation EA 23.102 Nightly
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
LangNote.cs
Go to the documentation of this file.
1using System;
2
3public class LangNote : SourceDataString<LangNote.Row>
4{
5 [Serializable]
6 public class Row : BaseRow
7 {
8 public string id;
9
10 public string text_JP;
11
12 public string text;
13
14 [NonSerialized]
15 public string text_L;
16
17 public override bool UseAlias => false;
18
19 public override string GetAlias => "n";
20 }
21
22 public override bool AllowHotInitialization => true;
23
24 public override Row CreateRow()
25 {
26 return new Row
27 {
28 id = SourceData.GetString(0),
29 text_JP = SourceData.GetString(1),
30 text = SourceData.GetString(2)
31 };
32 }
33
34 public override void SetRow(Row r)
35 {
36 map[r.id] = r;
37 }
38}
string text_L
Definition: LangNote.cs:15
override bool UseAlias
Definition: LangNote.cs:17
string id
Definition: LangNote.cs:8
string text
Definition: LangNote.cs:12
override string GetAlias
Definition: LangNote.cs:19
string text_JP
Definition: LangNote.cs:10
override Row CreateRow()
Definition: LangNote.cs:24
override bool AllowHotInitialization
Definition: LangNote.cs:22
override void SetRow(Row r)
Definition: LangNote.cs:34
static string GetString(int id)
Definition: SourceData.cs:746