Elin Decompiled Documentation EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
SourceArea Class Reference
Inheritance diagram for SourceArea:
SourceDataString< SourceArea.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< SourceArea.Row >
override T GetRow (string id)
 

Static Public Attributes

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

Properties

override string[] ImportFields [get]
 

Detailed Description

Definition at line 4 of file SourceArea.cs.

Member Function Documentation

◆ CreateRow()

override Row SourceArea.CreateRow ( )
inline

Definition at line 65 of file SourceArea.cs.

66 {
67 return new Row
68 {
69 id = SourceData.GetString(0),
70 name_JP = SourceData.GetString(1),
71 name = SourceData.GetString(2),
72 textAssign_JP = SourceData.GetString(3),
73 textAssign = SourceData.GetString(4),
74 detail_JP = SourceData.GetString(5),
75 tag = SourceData.GetString(6),
76 detail = SourceData.GetString(7)
77 };
78 }
static string GetString(int id)
Definition: SourceData.cs:1016

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

◆ CreateRowByMapping()

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

Definition at line 80 of file SourceArea.cs.

81 {
82 return new Row
83 {
84 id = SourceData.GetString(mapping["id"]),
85 name_JP = SourceData.GetString(mapping["name_JP"]),
86 name = SourceData.GetString(mapping["name"]),
87 textAssign_JP = SourceData.GetString(mapping["textAssign_JP"]),
88 textAssign = SourceData.GetString(mapping["textAssign"]),
89 detail_JP = SourceData.GetString(mapping["detail_JP"]),
90 tag = SourceData.GetString(mapping["tag"]),
91 detail = SourceData.GetString(mapping["detail"])
92 };
93 }

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

◆ GetRowMapping()

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

Definition at line 100 of file SourceArea.cs.

101 {
102 return RowMapping;
103 }
static readonly IReadOnlyDictionary< string, int > RowMapping
Definition: SourceArea.cs:39

References RowMapping.

◆ GetTypeMapping()

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

Definition at line 105 of file SourceArea.cs.

106 {
107 return TypeMapping;
108 }
static readonly IReadOnlyDictionary< string, string > TypeMapping
Definition: SourceArea.cs:51

References TypeMapping.

◆ SetRow()

override void SourceArea.SetRow ( Row  r)
inline

Definition at line 95 of file SourceArea.cs.

96 {
97 map[r.id] = r;
98 }

References SourceArea.Row.id.

Member Data Documentation

◆ RowMapping

readonly IReadOnlyDictionary<string, int> SourceArea.RowMapping
static
Initial value:
= new Dictionary<string, int>
{
["id"] = 0,
["name_JP"] = 1,
["name"] = 2,
["textAssign_JP"] = 3,
["textAssign"] = 4,
["detail_JP"] = 5,
["tag"] = 6,
["detail"] = 7
}

Definition at line 39 of file SourceArea.cs.

Referenced by GetRowMapping().

◆ TypeMapping

readonly IReadOnlyDictionary<string, string> SourceArea.TypeMapping
static
Initial value:
= new Dictionary<string, string>
{
["id"] = "string",
["name_JP"] = "string",
["name"] = "string",
["textAssign_JP"] = "string",
["textAssign"] = "string",
["detail_JP"] = "string",
["tag"] = "string",
["detail"] = "string"
}

Definition at line 51 of file SourceArea.cs.

Referenced by GetTypeMapping().

Property Documentation

◆ ImportFields

override string [] SourceArea.ImportFields
get

Definition at line 63 of file SourceArea.cs.


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