Class UserPreferences
Last update: 09.03.2026Namespace: OpenTD.UserPreferences
Assembly: OpenTD.dll
Provides access to the global user preferences for a dwg.
public class UserPreferences : Preferences, IUpdatable
Inheritance
object ← TdConnected ← Preferences ← UserPreferences
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
UserPreferences()
Do not use.
public UserPreferences()
UserPreferences(ThermalDesktop)
public UserPreferences(ThermalDesktop _td)
Parameters
_td ThermalDesktop
Properties
Acceleration
Global acceleration preferences for the dwg.
public Acceleration Acceleration { get; }
Property Value
Advanced
Global advanced preferences for the dwg.
public AdvancedPreferences Advanced { get; }
Property Value
Calculations
Global calculations preferences for the dwg.
public CalculationsPreferences Calculations { get; }
Property Value
GraphicsResolution
Global graphics resolution preferences for the dwg.
public GraphicsResolutionPreferences GraphicsResolution { get; }
Property Value
GraphicsSize
Global graphics size preferences for the dwg.
public GraphicsSizePreferences GraphicsSize { get; }
Property Value
GraphicsText
Global text preferences for the dwg.
public GraphicsTextPreferences GraphicsText { get; }
Property Value
GraphicsVisibility
Global graphics visibility preferences for the dwg.
public GraphicsVisibilityPreferences GraphicsVisibility { get; }
Property Value
Sinda
Global Sinda preferences for the dwg.
public SindaPreferences Sinda { get; }
Property Value
Units
Global units preferences for the dwg.
public UnitsPreferences Units { get; }
Property Value
Methods
GetAcceleration()
Deprecated. Use Acceleration member instead.
public Acceleration GetAcceleration()
Returns
See Also
GetDwgUnits()
Deprecated. Use Units member instead.
public UnitsPreferences GetDwgUnits()
Returns
See Also
Update()
Updates the TD entity with the latest client data.
public void Update()
UpdateFromTD()
Updates the client-side instance with the latest data from the TD entity.
public void UpdateFromTD()