Assembly: OpenTD.dll Data describing a TD expression.
Inheritance
object ← ExpressionDataInherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Constructors
ExpressionData()
Initializes a new instance of the ExpressionData class.ExpressionData(string)
Initializes a new instance of the ExpressionData class.Parameters
expression string
The expression.
ExpressionData(string, UnitsData)
Initializes a new instance of the ExpressionData class.Parameters
expression string
The expression.
expressionUnits UnitsData
The expression units.
ExpressionData(ExpressionData)
Parameters
x ExpressionData
Properties
Comment
Property Value
stringDisableWarnings
Property Value
boolExpressionInSindaUnits
Property Value
boolOutputToSinda
Property Value
boolValue
Property Value
stringunits
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.Property Value
UnitsDataunitsType
Property Value
UnitsData.UnitsTypeMethods
ToString()
Returns a string that represents the current object.Returns
string A string that represents the current object.Operators
implicit operator string(ExpressionData)
Parameters
x ExpressionData