2using System.Collections.Generic;
76 public static readonly IReadOnlyDictionary<string, int>
RowMapping =
new Dictionary<string, int>
87 [
"_idRenderData"] = 9,
102 [
"autotilePriority"] = 24,
103 [
"autotileBrightness"] = 25,
110 public static readonly IReadOnlyDictionary<string, string>
TypeMapping =
new Dictionary<string, string>
113 [
"alias"] =
"string",
114 [
"name_JP"] =
"string",
117 [
"idBiome"] =
"string",
118 [
"reqHarvest"] =
"string[]",
120 [
"_tileType"] =
"string",
121 [
"_idRenderData"] =
"string",
124 [
"colorMod"] =
"int",
127 [
"recipeKey"] =
"string[]",
128 [
"factory"] =
"string[]",
129 [
"components"] =
"string[]",
130 [
"defMat"] =
"string",
131 [
"defBlock"] =
"string",
132 [
"bridgeBlock"] =
"string",
133 [
"category"] =
"string",
135 [
"autotile"] =
"int",
136 [
"autotilePriority"] =
"int",
137 [
"autotileBrightness"] =
"float",
138 [
"soundFoot"] =
"string",
139 [
"tag"] =
"string[]",
140 [
"detail_JP"] =
"string",
141 [
"detail"] =
"string"
144 public Dictionary<int, Row>
_rows =
new Dictionary<int, Row>();
240 foreach (
Row row
in rows)
248 foreach (
Row row
in rows)
256 foreach (
Row row
in rows)
265 foreach (
Row row
in rows)
280 Cell.floorList = rows;
281 foreach (
Row row
in rows)
289 foreach (
Row row
in rows)
static SourceManager sources
bool ContainsTag(string _tag)
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)
SourceBlock.Row _defBlock
SourceBlock.Row _bridgeBlock
override RenderData defaultRenderData
override int GetTile(SourceMaterial.Row mat, int dir=0)
static readonly IReadOnlyDictionary< string, string > TypeMapping
override void RestorePref()
override void ValidatePref()
override Row CreateRowByMapping(IReadOnlyDictionary< string, int > mapping)
Dictionary< int, Row > _rows
override IReadOnlyDictionary< string, string > GetTypeMapping()
override IReadOnlyDictionary< string, int > GetRowMapping()
static RenderData FallbackRenderData
override void SetRow(Row r)
override void BackupPref()
static readonly IReadOnlyDictionary< string, int > RowMapping
override void OnAfterImportData()