|
| Dictionary< int, Row > | _rows = new Dictionary<int, Row>() |
| |
Definition at line 4 of file SourceBlock.cs.
◆ BackupPref()
| override void SourceBlock.BackupPref |
( |
| ) |
|
|
inline |
Definition at line 196 of file SourceBlock.cs.
197 {
199 foreach (Row row in rows)
200 {
202 }
203 }
Dictionary< int, Row > _rows
References _rows, and TileRow.id.
◆ CreateRow()
| override Row SourceBlock.CreateRow |
( |
| ) |
|
|
inline |
◆ CreateRowByMapping()
| override Row SourceBlock.CreateRowByMapping |
( |
IReadOnlyDictionary< string, int > |
mapping | ) |
|
|
inline |
◆ GetRowMapping()
| override IReadOnlyDictionary< string, int > SourceBlock.GetRowMapping |
( |
| ) |
|
|
inline |
Definition at line 191 of file SourceBlock.cs.
192 {
194 }
static readonly IReadOnlyDictionary< string, int > RowMapping
References RowMapping.
◆ OnAfterImportData()
| override void SourceBlock.OnAfterImportData |
( |
| ) |
|
|
inline |
Definition at line 221 of file SourceBlock.cs.
222 {
223 int num = 0;
224 foreach (Row row in rows)
225 {
226 if (row.sort != 0)
227 {
228 num = row.sort;
229 }
230 row.sort = num;
231 num++;
232 }
233 rows.Sort((Row a, Row b) => a.id - b.id);
234 }
References TileRow.id, and RenderRow.sort.
◆ OnInit()
| override void SourceBlock.OnInit |
( |
| ) |
|
|
inline |
◆ RestorePref()
| override void SourceBlock.RestorePref |
( |
| ) |
|
|
inline |
◆ SetRow()
| override void SourceBlock.SetRow |
( |
Row |
r | ) |
|
|
inline |
◆ ValidatePref()
| override void SourceBlock.ValidatePref |
( |
| ) |
|
|
inline |
◆ _rows
| Dictionary<int, Row> SourceBlock._rows = new Dictionary<int, Row>() |
◆ FallbackRenderData
◆ RowMapping
| readonly IReadOnlyDictionary<string, int> SourceBlock.RowMapping |
|
static |
The documentation for this class was generated from the following file: