2using System.Collections.Generic;
7 public class Row : BaseRow
98 public static readonly IReadOnlyDictionary<string, int>
RowMapping =
new Dictionary<string, int>
111 [
"defenseAttb"] = 11,
121 [
"strPhase_JP"] = 21,
123 [
"textPhase_JP"] = 23,
127 [
"textPhase2_JP"] = 27,
135 public static readonly IReadOnlyDictionary<string, string>
TypeMapping =
new Dictionary<string, string>
138 [
"alias"] =
"string",
139 [
"name_JP"] =
"string",
142 [
"group"] =
"string",
143 [
"curse"] =
"string",
144 [
"duration"] =
"string",
145 [
"durationMax"] =
"int",
146 [
"hexPower"] =
"int",
147 [
"negate"] =
"string[]",
148 [
"defenseAttb"] =
"string[]",
149 [
"resistance"] =
"string[]",
151 [
"elements"] =
"string[]",
152 [
"nullify"] =
"string[]",
153 [
"tag"] =
"string[]",
155 [
"colors"] =
"string",
156 [
"element"] =
"string",
157 [
"effect"] =
"string[]",
158 [
"strPhase_JP"] =
"string[]",
159 [
"strPhase"] =
"string[]",
160 [
"textPhase_JP"] =
"string",
161 [
"textPhase"] =
"string",
162 [
"textEnd_JP"] =
"string",
163 [
"textEnd"] =
"string",
164 [
"textPhase2_JP"] =
"string",
165 [
"textPhase2"] =
"string",
166 [
"gradient"] =
"string",
168 [
"detail_JP"] =
"string",
169 [
"detail"] =
"string"
173 public Dictionary<string, List<Row>>
groups =
new Dictionary<string, List<Row>>();
175 public override string[]
ImportFields =>
new string[4] {
"strPhase",
"textPhase",
"textPhase2",
"textEnd" };
274 foreach (
Row row
in rows)
276 if (!row.
group.IsEmpty())
static string[] GetStringArray(int id)
static string GetString(int id)
static bool GetBool(int id)
static int GetInt(int id)
static int[] GetIntArray(int id)
override string[] ImportFields
static readonly IReadOnlyDictionary< string, string > TypeMapping
override Row CreateRowByMapping(IReadOnlyDictionary< string, int > mapping)
override void SetRow(Row r)
override IReadOnlyDictionary< string, int > GetRowMapping()
Dictionary< string, List< Row > > groups
override IReadOnlyDictionary< string, string > GetTypeMapping()
static readonly IReadOnlyDictionary< string, int > RowMapping