2using System.Collections.Generic;
7 public class Row : BaseRow
130 public static readonly IReadOnlyDictionary<string, int>
RowMapping =
new Dictionary<string, int>
178 public static readonly IReadOnlyDictionary<string, string>
TypeMapping =
new Dictionary<string, string>
181 [
"name_JP"] =
"string",
183 [
"playable"] =
"int",
184 [
"tag"] =
"string[]",
205 [
"elements"] =
"elements",
206 [
"skill"] =
"string",
207 [
"figure"] =
"string",
209 [
"material"] =
"string",
210 [
"corpse"] =
"string[]",
211 [
"loot"] =
"string[]",
213 [
"meleeStyle"] =
"string",
214 [
"castStyle"] =
"string",
220 [
"food"] =
"string[]",
222 [
"detail_JP"] =
"string",
223 [
"detail"] =
"string"
345 foreach (
Row row
in rows)
347 Dictionary<int, int> dictionary =
new Dictionary<int, int>();
348 dictionary[70] = row.
STR;
349 dictionary[71] = row.
END;
350 dictionary[72] = row.
DEX;
351 dictionary[73] = row.
PER;
352 dictionary[74] = row.
LER;
353 dictionary[75] = row.
WIL;
354 dictionary[76] = row.
MAG;
355 dictionary[77] = row.
CHA;
356 dictionary[79] = row.
SPD;
357 dictionary[80] = row.
INT;
359 dictionary[60] = row.
life;
360 dictionary[61] = row.
mana;
361 dictionary[62] = row.
vigor;
362 dictionary[65] = row.
PV;
363 dictionary[64] = row.
DV;
364 dictionary[55] = row.
PDR;
365 dictionary[56] = row.
EDR;
366 dictionary[57] = row.
EP;
static int[] ParseElements(string str)
static Dictionary< int, int > GetElementMap(int[] list)
static string[] GetStringArray(int id)
static string GetString(int id)
static int GetInt(int id)
static string GetStr(int id, bool useDefault=false)
static int[] GetIntArray(int id)
Dictionary< int, int > elementMap
static readonly IReadOnlyDictionary< string, string > TypeMapping
override IReadOnlyDictionary< string, int > GetRowMapping()
override IReadOnlyDictionary< string, string > GetTypeMapping()
override Row CreateRowByMapping(IReadOnlyDictionary< string, int > mapping)
static readonly IReadOnlyDictionary< string, int > RowMapping
override void SetRow(Row r)