2using System.Collections.Generic;
35 public static readonly IReadOnlyDictionary<string, int>
RowMapping =
new Dictionary<string, int>
46 [
"_idRenderData"] = 9,
59 [
"autotilePriority"] = 22,
60 [
"autotileBrightness"] = 23,
67 public static readonly IReadOnlyDictionary<string, string>
TypeMapping =
new Dictionary<string, string>
71 [
"name_JP"] =
"string",
74 [
"idBiome"] =
"string",
75 [
"reqHarvest"] =
"string[]",
77 [
"_tileType"] =
"string",
78 [
"_idRenderData"] =
"string",
84 [
"recipeKey"] =
"string[]",
85 [
"factory"] =
"string[]",
86 [
"components"] =
"string[]",
87 [
"defMat"] =
"string",
88 [
"category"] =
"string",
91 [
"autotilePriority"] =
"int",
92 [
"autotileBrightness"] =
"float",
93 [
"soundFoot"] =
"string",
95 [
"detail_JP"] =
"string",
99 public Dictionary<int, Row>
_rows =
new Dictionary<int, Row>();
189 foreach (
Row row
in rows)
197 foreach (
Row row
in rows)
205 foreach (
Row row
in rows)
214 foreach (
Row row
in rows)
228 Cell.decoList = rows;
229 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