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

Member Function Documentation

◆ CreateRow()

override Row SourceQuest.CreateRow ( )
inline

Definition at line 104 of file SourceQuest.cs.

105 {
106 return new Row
107 {
108 id = SourceData.GetString(0),
109 name_JP = SourceData.GetString(1),
110 name = SourceData.GetString(2),
111 type = SourceData.GetString(3),
112 drama = SourceData.GetStringArray(4),
113 idZone = SourceData.GetString(5),
114 group = SourceData.GetString(6),
115 tags = SourceData.GetStringArray(7),
117 chance = SourceData.GetInt(9),
118 minFame = SourceData.GetInt(10),
119 detail_JP = SourceData.GetString(11),
120 detail = SourceData.GetString(12),
121 talkProgress_JP = SourceData.GetString(13),
122 talkProgress = SourceData.GetString(14),
123 talkComplete_JP = SourceData.GetString(15),
124 talkComplete = SourceData.GetString(16)
125 };
126 }
static string[] GetStringArray(int id)
Definition: SourceData.cs:1011
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(), SourceData< T, T2 >.GetStringArray(), and money.

◆ CreateRowByMapping()

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

Definition at line 128 of file SourceQuest.cs.

129 {
130 return new Row
131 {
132 id = SourceData.GetString(mapping["id"]),
133 name_JP = SourceData.GetString(mapping["name_JP"]),
134 name = SourceData.GetString(mapping["name"]),
135 type = SourceData.GetString(mapping["type"]),
136 drama = SourceData.GetStringArray(mapping["drama"]),
137 idZone = SourceData.GetString(mapping["idZone"]),
138 group = SourceData.GetString(mapping["group"]),
139 tags = SourceData.GetStringArray(mapping["tags"]),
140 money = SourceData.GetInt(mapping["money"]),
141 chance = SourceData.GetInt(mapping["chance"]),
142 minFame = SourceData.GetInt(mapping["minFame"]),
143 detail_JP = SourceData.GetString(mapping["detail_JP"]),
144 detail = SourceData.GetString(mapping["detail"]),
145 talkProgress_JP = SourceData.GetString(mapping["talkProgress_JP"]),
146 talkProgress = SourceData.GetString(mapping["talkProgress"]),
147 talkComplete_JP = SourceData.GetString(mapping["talkComplete_JP"]),
148 talkComplete = SourceData.GetString(mapping["talkComplete"])
149 };
150 }

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

◆ GetRowMapping()

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

Definition at line 157 of file SourceQuest.cs.

158 {
159 return RowMapping;
160 }
static readonly IReadOnlyDictionary< string, int > RowMapping
Definition: SourceQuest.cs:60

References RowMapping.

◆ GetTypeMapping()

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

Definition at line 162 of file SourceQuest.cs.

163 {
164 return TypeMapping;
165 }
static readonly IReadOnlyDictionary< string, string > TypeMapping
Definition: SourceQuest.cs:81

References TypeMapping.

◆ SetRow()

override void SourceQuest.SetRow ( Row  r)
inline

Definition at line 152 of file SourceQuest.cs.

153 {
154 map[r.id] = r;
155 }

References SourceQuest.Row.id.

Member Data Documentation

◆ RowMapping

readonly IReadOnlyDictionary<string, int> SourceQuest.RowMapping
static
Initial value:
= new Dictionary<string, int>
{
["id"] = 0,
["name_JP"] = 1,
["name"] = 2,
["type"] = 3,
["drama"] = 4,
["idZone"] = 5,
["group"] = 6,
["tags"] = 7,
["money"] = 8,
["chance"] = 9,
["minFame"] = 10,
["detail_JP"] = 11,
["detail"] = 12,
["talkProgress_JP"] = 13,
["talkProgress"] = 14,
["talkComplete_JP"] = 15,
["talkComplete"] = 16
}

Definition at line 60 of file SourceQuest.cs.

Referenced by GetRowMapping().

◆ TypeMapping

readonly IReadOnlyDictionary<string, string> SourceQuest.TypeMapping
static
Initial value:
= new Dictionary<string, string>
{
["id"] = "string",
["name_JP"] = "string",
["name"] = "string",
["type"] = "string",
["drama"] = "string[]",
["idZone"] = "string",
["group"] = "string",
["tags"] = "string[]",
["money"] = "int",
["chance"] = "int",
["minFame"] = "int",
["detail_JP"] = "string",
["detail"] = "string",
["talkProgress_JP"] = "string",
["talkProgress"] = "string",
["talkComplete_JP"] = "string",
["talkComplete"] = "string"
}

Definition at line 81 of file SourceQuest.cs.

Referenced by GetTypeMapping().

Property Documentation

◆ ImportFields

override string [] SourceQuest.ImportFields
get

Definition at line 102 of file SourceQuest.cs.


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