|
| Dictionary< int, Row > | _rows = new Dictionary<int, Row>() |
| |
|
| static readonly IReadOnlyDictionary< string, int > | RowMapping |
| |
Definition at line 4 of file SourceDeco.cs.
◆ BackupPref()
| override void SourceDeco.BackupPref |
( |
| ) |
|
|
inline |
Definition at line 149 of file SourceDeco.cs.
150 {
152 foreach (Row row in rows)
153 {
155 }
156 }
Dictionary< int, Row > _rows
References _rows, and TileRow.id.
◆ CreateRow()
| override Row SourceDeco.CreateRow |
( |
| ) |
|
|
inline |
◆ CreateRowByMapping()
| override Row SourceDeco.CreateRowByMapping |
( |
IReadOnlyDictionary< string, int > |
mapping | ) |
|
|
inline |
◆ GetRowMapping()
| override IReadOnlyDictionary< string, int > SourceDeco.GetRowMapping |
( |
| ) |
|
|
inline |
Definition at line 144 of file SourceDeco.cs.
145 {
147 }
static readonly IReadOnlyDictionary< string, int > RowMapping
References RowMapping.
◆ OnAfterImportData()
| override void SourceDeco.OnAfterImportData |
( |
| ) |
|
|
inline |
Definition at line 174 of file SourceDeco.cs.
175 {
176 int num = 0;
177 foreach (Row row in rows)
178 {
179 if (row.sort != 0)
180 {
181 num = row.sort;
182 }
183 row.sort = num;
184 num++;
185 }
186 rows.Sort((Row a, Row b) => a.id - b.id);
187 }
References TileRow.id, and RenderRow.sort.
◆ OnInit()
| override void SourceDeco.OnInit |
( |
| ) |
|
|
inline |
Definition at line 189 of file SourceDeco.cs.
190 {
191 Cell.decoList = rows;
192 foreach (Row row in rows)
193 {
194 row.Init();
195 }
196 }
References TileRow.Init().
◆ RestorePref()
| override void SourceDeco.RestorePref |
( |
| ) |
|
|
inline |
◆ SetRow()
| override void SourceDeco.SetRow |
( |
Row |
r | ) |
|
|
inline |
◆ ValidatePref()
| override void SourceDeco.ValidatePref |
( |
| ) |
|
|
inline |
◆ _rows
| Dictionary<int, Row> SourceDeco._rows = new Dictionary<int, Row>() |
◆ RowMapping
| readonly IReadOnlyDictionary<string, int> SourceDeco.RowMapping |
|
static |
The documentation for this class was generated from the following file: