|
| Dictionary< int, Row > | _rows = new Dictionary<int, Row>() |
| |
|
| static readonly IReadOnlyDictionary< string, int > | RowMapping |
| |
| static readonly IReadOnlyDictionary< string, string > | TypeMapping |
| |
Definition at line 4 of file SourceDeco.cs.
◆ BackupPref()
| override void SourceDeco.BackupPref |
( |
| ) |
|
|
inline |
Definition at line 186 of file SourceDeco.cs.
187 {
189 foreach (Row row in rows)
190 {
192 }
193 }
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 176 of file SourceDeco.cs.
177 {
179 }
static readonly IReadOnlyDictionary< string, int > RowMapping
References RowMapping.
◆ GetTypeMapping()
| override IReadOnlyDictionary< string, string > SourceDeco.GetTypeMapping |
( |
| ) |
|
|
inline |
Definition at line 181 of file SourceDeco.cs.
182 {
184 }
static readonly IReadOnlyDictionary< string, string > TypeMapping
References TypeMapping.
◆ OnAfterImportData()
| override void SourceDeco.OnAfterImportData |
( |
| ) |
|
|
inline |
Definition at line 211 of file SourceDeco.cs.
212 {
213 int num = 0;
214 foreach (Row row in rows)
215 {
216 if (row.sort != 0)
217 {
218 num = row.sort;
219 }
220 row.sort = num;
221 num++;
222 }
223 rows.Sort((Row a, Row b) => a.id - b.id);
224 }
References TileRow.id, and RenderRow.sort.
◆ OnInit()
| override void SourceDeco.OnInit |
( |
| ) |
|
|
inline |
Definition at line 226 of file SourceDeco.cs.
227 {
228 Cell.decoList = rows;
229 foreach (Row row in rows)
230 {
231 row.Init();
232 }
233 }
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 |
◆ TypeMapping
| readonly IReadOnlyDictionary<string, string> SourceDeco.TypeMapping |
|
static |
The documentation for this class was generated from the following file: