This method is used by Trainz to determine the type of the named property. The supported types and their parameters are listed in the table below.
Value type | Parameters | Description |
string | minimum-length,maximum-length | A string value, with optional minimum and maximum lengths. e.g. "string,0,200". |
int | minimum-value,maximum-value,step-value | An integer value with optional minimum, maximum and 'step' value. e.g. "int,0,100,5". |
float | minimum-value,maximum-value,step-value | An floating point value with optional minimum, maximum and 'step' value. e.g. "float,0,10,0.5". |
list | sorted-bool | An list, with an optional sorting flag (default off). e.g. "list,1" to sort, "list,0" for unsorted. |
map-object | category-list | A list of map objects in the route which match a specific non-optional category list. e.g. "map-object,IND" for an industry list. |
asset-list | category-list | A list of locally installed, compatible and available assets which match a specific non-optional category list. e.g. "asset-list,DR" for a list of installed Driver Character assets. |
link | A link type. This would usually respond and set some specific value, or perhaps toggle a bool. |