|
| 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 192 of file SourceDeco.cs.
193 {
195 foreach (Row row in rows)
196 {
198 }
199 }
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 182 of file SourceDeco.cs.
183 {
185 }
static readonly IReadOnlyDictionary< string, int > RowMapping
References RowMapping.
◆ GetTypeMapping()
| override IReadOnlyDictionary< string, string > SourceDeco.GetTypeMapping |
( |
| ) |
|
|
inline |
Definition at line 187 of file SourceDeco.cs.
188 {
190 }
static readonly IReadOnlyDictionary< string, string > TypeMapping
References TypeMapping.
◆ OnAfterImportData()
| override void SourceDeco.OnAfterImportData |
( |
| ) |
|
|
inline |
Definition at line 217 of file SourceDeco.cs.
218 {
219 int num = 0;
220 foreach (Row row in rows)
221 {
222 if (row.sort != 0)
223 {
224 num = row.sort;
225 }
226 row.sort = num;
227 num++;
228 }
229 rows.Sort((Row a, Row b) => a.id - b.id);
230 }
References TileRow.id, and RenderRow.sort.
◆ OnInit()
| override void SourceDeco.OnInit |
( |
| ) |
|
|
inline |
Definition at line 232 of file SourceDeco.cs.
233 {
234 Cell.decoList = rows;
235 foreach (Row row in rows)
236 {
237 row.Init();
238 }
239 }
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: