Skip to main content
Namespace: OpenTD.UserPreferences
Assembly: OpenTD.dll
Provides access to the global user preferences for a dwg.

Inheritance

object ← TdConnected ← Preferences ← UserPreferences

Implements

IUpdatable

Inherited Members

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

Constructors

UserPreferences()

Do not use.

UserPreferences(ThermalDesktop)

Parameters

_td ThermalDesktop

Properties

Acceleration

Global acceleration preferences for the dwg.

Property Value

Acceleration

Advanced

Global advanced preferences for the dwg.

Property Value

AdvancedPreferences

Calculations

Global calculations preferences for the dwg.

Property Value

CalculationsPreferences

GraphicsResolution

Global graphics resolution preferences for the dwg.

Property Value

GraphicsResolutionPreferences

GraphicsSize

Global graphics size preferences for the dwg.

Property Value

GraphicsSizePreferences

GraphicsText

Global text preferences for the dwg.

Property Value

GraphicsTextPreferences

GraphicsVisibility

Global graphics visibility preferences for the dwg.

Property Value

GraphicsVisibilityPreferences

Sinda

Global Sinda preferences for the dwg.

Property Value

SindaPreferences

Units

Global units preferences for the dwg.

Property Value

UnitsPreferences

Methods

GetAcceleration()

Deprecated. Use Acceleration member instead.

Returns

Acceleration

See Also

UserPreferences.Acceleration

GetDwgUnits()

Deprecated. Use Units member instead.

Returns

UnitsPreferences

See Also

UserPreferences.Units

Update()

Updates the TD entity with the latest client data.

UpdateFromTD()

Updates the client-side instance with the latest data from the TD entity.