|
| 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 236 of file SourceBlock.cs.
237 {
239 foreach (Row row in rows)
240 {
242 }
243 }
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 226 of file SourceBlock.cs.
227 {
229 }
static readonly IReadOnlyDictionary< string, int > RowMapping
References RowMapping.
◆ GetTypeMapping()
| override IReadOnlyDictionary< string, string > SourceBlock.GetTypeMapping |
( |
| ) |
|
|
inline |
Definition at line 231 of file SourceBlock.cs.
232 {
234 }
static readonly IReadOnlyDictionary< string, string > TypeMapping
References TypeMapping.
◆ OnAfterImportData()
| override void SourceBlock.OnAfterImportData |
( |
| ) |
|
|
inline |
Definition at line 261 of file SourceBlock.cs.
262 {
263 int num = 0;
264 foreach (Row row in rows)
265 {
266 if (row.sort != 0)
267 {
268 num = row.sort;
269 }
270 row.sort = num;
271 num++;
272 }
273 rows.Sort((Row a, Row b) => a.id - b.id);
274 }
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 |
◆ TypeMapping
| readonly IReadOnlyDictionary<string, string> SourceBlock.TypeMapping |
|
static |
The documentation for this class was generated from the following file: