2using System.Collections.Generic;
41 public static readonly IReadOnlyDictionary<string, int>
RowMapping =
new Dictionary<string, int>
52 [
"_idRenderData"] = 9,
65 [
"autotilePriority"] = 22,
66 [
"autotileBrightness"] = 23,
73 public static readonly IReadOnlyDictionary<string, string>
TypeMapping =
new Dictionary<string, string>
77 [
"name_JP"] =
"string",
80 [
"idBiome"] =
"string",
81 [
"reqHarvest"] =
"string[]",
83 [
"_tileType"] =
"string",
84 [
"_idRenderData"] =
"string",
90 [
"recipeKey"] =
"string[]",
91 [
"factory"] =
"string[]",
92 [
"components"] =
"string[]",
93 [
"defMat"] =
"string",
94 [
"category"] =
"string",
97 [
"autotilePriority"] =
"int",
98 [
"autotileBrightness"] =
"float",
99 [
"soundFoot"] =
"string",
100 [
"tag"] =
"string[]",
101 [
"detail_JP"] =
"string",
102 [
"detail"] =
"string"
105 public Dictionary<int, Row>
_rows =
new Dictionary<int, Row>();
195 foreach (
Row row
in rows)
203 foreach (
Row row
in rows)
211 foreach (
Row row
in rows)
220 foreach (
Row row
in rows)
234 Cell.decoList = rows;
235 foreach (
Row row
in rows)
static float GetFloat(int id)
static string[] GetStringArray(int id)
static string GetString(int id)
static int GetInt(int id)
static int[] GetIntArray(int id)
override int GetTile(SourceMaterial.Row mat, int dir=0)
override void OnAfterImportData()
override IReadOnlyDictionary< string, string > GetTypeMapping()
static readonly IReadOnlyDictionary< string, int > RowMapping
override void RestorePref()
override Row CreateRowByMapping(IReadOnlyDictionary< string, int > mapping)
override void BackupPref()
override void SetRow(Row r)
override void ValidatePref()
static readonly IReadOnlyDictionary< string, string > TypeMapping
override IReadOnlyDictionary< string, int > GetRowMapping()
Dictionary< int, Row > _rows