OpenTD.UserPreferences.UserPreferences Class Reference
Last update: 16.07.2025Provides access to the global user preferences for a dwg. More...

Public Member Functions | |
| UserPreferences () | |
| Do not use. | |
| UserPreferences (ThermalDesktop _td) | |
| void | Update () |
| Updates the TD entity with the latest client data. | |
| void | UpdateFromTD () |
| Updates the client-side instance with the latest data from the TD entity. | |
| UnitsPreferences | GetDwgUnits () |
| Deprecated. Use Units member instead. | |
| Acceleration | GetAcceleration () |
| Deprecated. Use Acceleration member instead. | |
Properties | |
| UnitsPreferences | Units [get] |
| Global units preferences for the dwg. | |
| GraphicsVisibilityPreferences | GraphicsVisibility [get] |
| Global graphics visibility preferences for the dwg. | |
| GraphicsSizePreferences | GraphicsSize [get] |
| Global graphics size preferences for the dwg. | |
| GraphicsResolutionPreferences | GraphicsResolution [get] |
| Global graphics resolution preferences for the dwg. | |
| GraphicsTextPreferences | GraphicsText [get] |
| Global text preferences for the dwg. | |
| CalculationsPreferences | Calculations [get] |
| Global calculations preferences for the dwg. | |
| SindaPreferences | Sinda [get] |
| Global Sinda preferences for the dwg. | |
| Acceleration | Acceleration [get] |
| Global acceleration preferences for the dwg. | |
| AdvancedPreferences | Advanced [get] |
| Global advanced preferences for the dwg. | |
| bool | NeedsUpdateFromTD = true [get, protected set] |
Detailed Description
Provides access to the global user preferences for a dwg.
Constructor & Destructor Documentation
◆ UserPreferences() [1/2]
|
inline |
Do not use.
◆ UserPreferences() [2/2]
|
inline |
Member Function Documentation
◆ GetAcceleration()
|
inline |
Deprecated. Use Acceleration member instead.
◆ GetDwgUnits()
|
inline |
Deprecated. Use Units member instead.
◆ Update()
|
inline |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
inline |
Updates the client-side instance with the latest data from the TD entity.
Implements OpenTD.IUpdatable.
Property Documentation
◆ Acceleration
|
get |
Global acceleration preferences for the dwg.
◆ Advanced
|
get |
Global advanced preferences for the dwg.
◆ Calculations
|
get |
Global calculations preferences for the dwg.
◆ GraphicsResolution
|
get |
Global graphics resolution preferences for the dwg.
◆ GraphicsSize
|
get |
Global graphics size preferences for the dwg.
◆ GraphicsText
|
get |
Global text preferences for the dwg.
◆ GraphicsVisibility
|
get |
Global graphics visibility preferences for the dwg.
◆ NeedsUpdateFromTD
|
getprotected setinherited |
◆ Sinda
|
get |
Global Sinda preferences for the dwg.
◆ Units
|
get |
Global units preferences for the dwg.
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/UserPreferences/UserPreferences.cs