Elin Decompiled Documentation EA 23.321 Nightly Patch 1
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 ()
 
override IReadOnlyDictionary< string, string > GetTypeMapping ()
 
- Public Member Functions inherited from SourceDataString< LangNote.Row >
override T GetRow (string id)
 

Static Public Attributes

static readonly IReadOnlyDictionary< string, int > RowMapping
 
static readonly IReadOnlyDictionary< string, string > TypeMapping
 

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 39 of file LangNote.cs.

40 {
41 return new Row
42 {
43 id = SourceData.GetString(0),
44 text_JP = SourceData.GetString(1),
45 text = SourceData.GetString(2)
46 };
47 }
static string GetString(int id)
Definition: SourceData.cs:1016

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

◆ CreateRowByMapping()

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

Definition at line 49 of file LangNote.cs.

50 {
51 return new Row
52 {
53 id = SourceData.GetString(mapping["id"]),
54 text_JP = SourceData.GetString(mapping["text_JP"]),
55 text = SourceData.GetString(mapping["text"])
56 };
57 }

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

◆ GetRowMapping()

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

Definition at line 64 of file LangNote.cs.

65 {
66 return RowMapping;
67 }
static readonly IReadOnlyDictionary< string, int > RowMapping
Definition: LangNote.cs:23

References RowMapping.

◆ GetTypeMapping()

override IReadOnlyDictionary< string, string > LangNote.GetTypeMapping ( )
inline

Definition at line 69 of file LangNote.cs.

70 {
71 return TypeMapping;
72 }
static readonly IReadOnlyDictionary< string, string > TypeMapping
Definition: LangNote.cs:30

References TypeMapping.

◆ SetRow()

override void LangNote.SetRow ( Row  r)
inline

Definition at line 59 of file LangNote.cs.

60 {
61 map[r.id] = r;
62 }

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().

◆ TypeMapping

readonly IReadOnlyDictionary<string, string> LangNote.TypeMapping
static
Initial value:
= new Dictionary<string, string>
{
["id"] = "string",
["text_JP"] = "string",
["text"] = "string"
}

Definition at line 30 of file LangNote.cs.

Referenced by GetTypeMapping().

Property Documentation

◆ AllowHotInitialization

override bool LangNote.AllowHotInitialization
get

Definition at line 37 of file LangNote.cs.


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