Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
LangTalk.cs
Go to the documentation of this file.
1using System;
2
3public class LangTalk : SourceDataString<LangTalk.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}
override string GetAlias
Definition: LangTalk.cs:19
override bool UseAlias
Definition: LangTalk.cs:17
string text_JP
Definition: LangTalk.cs:10
string text
Definition: LangTalk.cs:12
string text_L
Definition: LangTalk.cs:15
string id
Definition: LangTalk.cs:8
override Row CreateRow()
Definition: LangTalk.cs:24
override void SetRow(Row r)
Definition: LangTalk.cs:34
override bool AllowHotInitialization
Definition: LangTalk.cs:22
static string GetString(int id)
Definition: SourceData.cs:746