Elin Decompiled Documentation EA 23.306 Nightly
Loading...
Searching...
No Matches
LangNote Class Reference
Inheritance diagram for LangNote:
SourceDataString< LangNote.Row >

Classes

class  Row
 

Public Member Functions

override Row CreateRow ()
 
override Row CreateRowByMapping (IReadOnlyDictionary< string, int > mapping)
 
override void SetRow (Row r)
 
override IReadOnlyDictionary< string, int > GetRowMapping ()
 
- Public Member Functions inherited from SourceDataString< LangNote.Row >
override T GetRow (string id)
 

Static Public Attributes

static readonly IReadOnlyDictionary< string, int > RowMapping
 

Properties

override bool AllowHotInitialization [get]
 

Detailed Description

Definition at line 4 of file LangNote.cs.

Member Function Documentation

◆ CreateRow()

override Row LangNote.CreateRow ( )
inline

Definition at line 32 of file LangNote.cs.

33 {
34 return new Row
35 {
36 id = SourceData.GetString(0),
37 text_JP = SourceData.GetString(1),
38 text = SourceData.GetString(2)
39 };
40 }
static string GetString(int id)
Definition: SourceData.cs:983

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

◆ CreateRowByMapping()

override Row LangNote.CreateRowByMapping ( IReadOnlyDictionary< string, int >  mapping)
inline

Definition at line 42 of file LangNote.cs.

43 {
44 return new Row
45 {
46 id = SourceData.GetString(mapping["id"]),
47 text_JP = SourceData.GetString(mapping["text_JP"]),
48 text = SourceData.GetString(mapping["text"])
49 };
50 }

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

◆ GetRowMapping()

override IReadOnlyDictionary< string, int > LangNote.GetRowMapping ( )
inline

Definition at line 57 of file LangNote.cs.

58 {
59 return RowMapping;
60 }
static readonly IReadOnlyDictionary< string, int > RowMapping
Definition: LangNote.cs:23

References RowMapping.

◆ SetRow()

override void LangNote.SetRow ( Row  r)
inline

Definition at line 52 of file LangNote.cs.

53 {
54 map[r.id] = r;
55 }

References LangNote.Row.id.

Member Data Documentation

◆ RowMapping

readonly IReadOnlyDictionary<string, int> LangNote.RowMapping
static
Initial value:
= new Dictionary<string, int>
{
["id"] = 0,
["text_JP"] = 1,
["text"] = 2
}

Definition at line 23 of file LangNote.cs.

Referenced by GetRowMapping().

Property Documentation

◆ AllowHotInitialization

override bool LangNote.AllowHotInitialization
get

Definition at line 30 of file LangNote.cs.


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