OpenTD.ExpressionData Class Reference
Last update: 16.07.2025Data describing a TD expression. More...
Inheritance diagram for OpenTD.ExpressionData:

Public Member Functions | |
| ExpressionData () | |
| Initializes a new instance of the ExpressionData class. | |
| ExpressionData (string expression) | |
| Initializes a new instance of the ExpressionData class. | |
| ExpressionData (string expression, UnitsData expressionUnits) | |
| Initializes a new instance of the ExpressionData class. | |
| ExpressionData (ExpressionData x) | |
| override string | ToString () |
Static Public Member Functions | |
| static implicit | operator string (ExpressionData x) |
Properties | |
| UnitsData.UnitsType | unitsType [get, set] |
| UnitsData | units [get, set] |
| ExpressionDatas contain their own unit system, independent of the dwg units or OpenTD WorkingUnits. This unit system defaults to the WorkingUnits but can be changed. | |
| bool | OutputToSinda [get, set] |
| bool | ExpressionInSindaUnits [get, set] |
| bool | DisableWarnings [get, set] |
| string | Comment [get, set] |
| string | Value [get, set] |
Detailed Description
Data describing a TD expression.
Constructor & Destructor Documentation
◆ ExpressionData() [1/4]
|
inline |
Initializes a new instance of the ExpressionData class.
◆ ExpressionData() [2/4]
|
inline |
Initializes a new instance of the ExpressionData class.
- Parameters
-
expression The expression.
◆ ExpressionData() [3/4]
|
inline |
Initializes a new instance of the ExpressionData class.
- Parameters
-
expression The expression. expressionUnits The expression units.
◆ ExpressionData() [4/4]
|
inline |
Member Function Documentation
◆ operator string()
|
inlinestatic |
◆ ToString()
|
inline |
Property Documentation
◆ Comment
|
getset |
◆ DisableWarnings
|
getset |
◆ ExpressionInSindaUnits
|
getset |
◆ OutputToSinda
|
getset |
◆ units
|
getset |
ExpressionDatas contain their own unit system, independent of the dwg units or OpenTD WorkingUnits. This unit system defaults to the WorkingUnits but can be changed.
◆ unitsType
|
getset |
◆ Value
|
getset |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/ExpressionData.cs