Skip to main content
Namespace: OpenTD
Assembly: OpenTD.dll
Data describing a TD expression.

Inheritance

object ← ExpressionData

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

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

string

DisableWarnings

Property Value

bool

ExpressionInSindaUnits

Property Value

bool

OutputToSinda

Property Value

bool

Value

Property Value

string

units

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

UnitsData

unitsType

Property Value

UnitsData.UnitsType

Methods

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

Returns

string