2using System.Collections.Generic;
7 public class Row : BaseRow
141 public static readonly IReadOnlyDictionary<string, int>
RowMapping =
new Dictionary<string, int>
154 [
"ignoreBless"] = 11,
167 public static readonly IReadOnlyDictionary<string, string>
TypeMapping =
new Dictionary<string, string>
171 [
"name_JP"] =
"string",
173 [
"_parent"] =
"string",
174 [
"recipeCat"] =
"string",
175 [
"slot"] =
"element_id",
176 [
"skill"] =
"element_id",
177 [
"maxStack"] =
"int",
178 [
"tileDummy"] =
"int",
179 [
"installOne"] =
"bool",
180 [
"ignoreBless"] =
"int",
181 [
"tag"] =
"string[]",
182 [
"idThing"] =
"string",
183 [
"recycle"] =
"string[]",
268 foreach (
Row row
in rows)
270 row.children =
new List<Row>();
272 foreach (
Row row2
in rows)
276 (row2.parent = map[row2.
_parent]).children.Add(row2);
static int GetElement(string id)
static SourceManager sources
bool IsChildOf(string id)
override IReadOnlyDictionary< string, string > GetTypeMapping()
static readonly IReadOnlyDictionary< string, int > RowMapping
override Row CreateRowByMapping(IReadOnlyDictionary< string, int > mapping)
override void SetRow(Row r)
override IReadOnlyDictionary< string, int > GetRowMapping()
static readonly IReadOnlyDictionary< string, string > TypeMapping
static string[] GetStringArray(int id)
static string GetString(int id)
static bool GetBool(int id)
static int GetInt(int id)
static string GetStr(int id, bool useDefault=false)
SourceCategory categories