Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
LangWord Class Reference
Inheritance diagram for LangWord:
SourceDataInt< LangWord.Row >

Classes

class  Row
 

Public Member Functions

override Row CreateRow ()
 
override void SetRow (Row r)
 
override void OnAfterImportData ()
 
- Public Member Functions inherited from SourceDataInt< LangWord.Row >
override T GetRow (string id)
 

Properties

override bool AllowHotInitialization [get]
 

Detailed Description

Definition at line 3 of file LangWord.cs.

Member Function Documentation

◆ CreateRow()

override Row LangWord.CreateRow ( )
inline

Definition at line 26 of file LangWord.cs.

27 {
28 return new Row
29 {
30 id = SourceData.GetInt(0),
31 group = SourceData.GetString(1),
32 name_JP = SourceData.GetString(2),
33 name = SourceData.GetString(3)
34 };
35 }
static string GetString(int id)
Definition: SourceData.cs:746
static int GetInt(int id)
Definition: SourceData.cs:711

References SourceData< T, T2 >.GetInt(), and SourceData< T, T2 >.GetString().

◆ OnAfterImportData()

override void LangWord.OnAfterImportData ( )
inline

Definition at line 42 of file LangWord.cs.

43 {
44 int num = 0;
45 foreach (Row row in rows)
46 {
47 if (row.id != 0)
48 {
49 num = row.id;
50 }
51 row.id = num;
52 num++;
53 }
54 }

References LangWord.Row.id.

◆ SetRow()

override void LangWord.SetRow ( Row  r)
inline

Definition at line 37 of file LangWord.cs.

38 {
39 map[r.id] = r;
40 }

References LangWord.Row.id.

Property Documentation

◆ AllowHotInitialization

override bool LangWord.AllowHotInitialization
get

Definition at line 24 of file LangWord.cs.


The documentation for this class was generated from the following file: