Elin Decompiled Documentation EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
SourcePerson Class Reference
Inheritance diagram for SourcePerson:
SourceDataString< SourcePerson.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< SourcePerson.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 SourcePerson.cs.

Member Function Documentation

◆ CreateRow()

override Row SourcePerson.CreateRow ( )
inline

Definition at line 93 of file SourcePerson.cs.

94 {
95 return new Row
96 {
97 id = SourceData.GetString(0),
98 idActor = SourceData.GetString(1),
99 name_JP = SourceData.GetString(2),
100 name = SourceData.GetString(3),
101 aka_JP = SourceData.GetString(4),
102 aka = SourceData.GetString(5),
103 portrait = SourceData.GetString(6),
104 faction = SourceData.GetString(7),
105 LV = SourceData.GetInt(8),
106 job = SourceData.GetString(9),
107 race = SourceData.GetString(10),
109 bio = SourceData.GetString(12),
110 detail_JP = SourceData.GetString(13),
111 detail = SourceData.GetString(14)
112 };
113 }
static string GetString(int id)
Definition: SourceData.cs:1016
static int GetInt(int id)
Definition: SourceData.cs:981

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

◆ CreateRowByMapping()

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

Definition at line 115 of file SourcePerson.cs.

116 {
117 return new Row
118 {
119 id = SourceData.GetString(mapping["id"]),
120 idActor = SourceData.GetString(mapping["idActor"]),
121 name_JP = SourceData.GetString(mapping["name_JP"]),
122 name = SourceData.GetString(mapping["name"]),
123 aka_JP = SourceData.GetString(mapping["aka_JP"]),
124 aka = SourceData.GetString(mapping["aka"]),
125 portrait = SourceData.GetString(mapping["portrait"]),
126 faction = SourceData.GetString(mapping["faction"]),
127 LV = SourceData.GetInt(mapping["LV"]),
128 job = SourceData.GetString(mapping["job"]),
129 race = SourceData.GetString(mapping["race"]),
130 material = SourceData.GetString(mapping["material"]),
131 bio = SourceData.GetString(mapping["bio"]),
132 detail_JP = SourceData.GetString(mapping["detail_JP"]),
133 detail = SourceData.GetString(mapping["detail"])
134 };
135 }

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

◆ GetRowMapping()

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

Definition at line 142 of file SourcePerson.cs.

143 {
144 return RowMapping;
145 }
static readonly IReadOnlyDictionary< string, int > RowMapping
Definition: SourcePerson.cs:53

References RowMapping.

◆ GetTypeMapping()

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

Definition at line 147 of file SourcePerson.cs.

148 {
149 return TypeMapping;
150 }
static readonly IReadOnlyDictionary< string, string > TypeMapping
Definition: SourcePerson.cs:72

References TypeMapping.

◆ SetRow()

override void SourcePerson.SetRow ( Row  r)
inline

Definition at line 137 of file SourcePerson.cs.

138 {
139 map[r.id] = r;
140 }

References SourcePerson.Row.id.

Member Data Documentation

◆ RowMapping

readonly IReadOnlyDictionary<string, int> SourcePerson.RowMapping
static
Initial value:
= new Dictionary<string, int>
{
["id"] = 0,
["idActor"] = 1,
["name_JP"] = 2,
["name"] = 3,
["aka_JP"] = 4,
["aka"] = 5,
["portrait"] = 6,
["faction"] = 7,
["LV"] = 8,
["job"] = 9,
["race"] = 10,
["material"] = 11,
["bio"] = 12,
["detail_JP"] = 13,
["detail"] = 14
}

Definition at line 53 of file SourcePerson.cs.

Referenced by GetRowMapping().

◆ TypeMapping

readonly IReadOnlyDictionary<string, string> SourcePerson.TypeMapping
static
Initial value:
= new Dictionary<string, string>
{
["id"] = "string",
["idActor"] = "string",
["name_JP"] = "string",
["name"] = "string",
["aka_JP"] = "string",
["aka"] = "string",
["portrait"] = "string",
["faction"] = "string",
["LV"] = "int",
["job"] = "string",
["race"] = "string",
["material"] = "string",
["bio"] = "string",
["detail_JP"] = "string",
["detail"] = "string"
}

Definition at line 72 of file SourcePerson.cs.

Referenced by GetTypeMapping().

Property Documentation

◆ ImportFields

override string [] SourcePerson.ImportFields
get

Definition at line 91 of file SourcePerson.cs.


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