Class AdvancedPreferences
Last update: 09.03.2026Namespace: OpenTD.UserPreferences
Assembly: OpenTD.dll
Use to set the global advanced preferences.
[MessagePackObject(true)]
public class AdvancedPreferences : Preferences, IUpdatable
Inheritance
object ← TdConnected ← Preferences ← AdvancedPreferences
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
AdvancedPreferences()
public AdvancedPreferences()
AdvancedPreferences(ThermalDesktop)
public AdvancedPreferences(ThermalDesktop _td)
Parameters
_td ThermalDesktop
Properties
TURN_ON_BC_OBJECT_VIS_CREATE
public int TURN_ON_BC_OBJECT_VIS_CREATE { get; set; }
Property Value
automaticRegens
public int automaticRegens { get; set; }
Property Value
bmpPngGifIndex
public int bmpPngGifIndex { get; set; }
Property Value
clearMarkersBeforeShowContactorMarkers
public int clearMarkersBeforeShowContactorMarkers { get; set; }
Property Value
disableDragDrop
public int disableDragDrop { get; set; }
Property Value
disableHardwareGraphicsDuringCalcs
public int disableHardwareGraphicsDuringCalcs { get; set; }
Property Value
disableHighlightUponStartup
public int disableHighlightUponStartup { get; set; }
Property Value
disableUndoUponStartup
public int disableUndoUponStartup { get; set; }
Property Value
doubleClickEdit
public int doubleClickEdit { get; set; }
Property Value
editorIndex
public int editorIndex { get; set; }
Property Value
enableLighting
public int enableLighting { get; set; }
Property Value
enableSystemConfig
public int enableSystemConfig { get; set; }
Property Value
initACADSettings
public int initACADSettings { get; set; }
Property Value
invalidateObjectThreshold
public int invalidateObjectThreshold { get; set; }
Property Value
legendLabelsIndex
public int legendLabelsIndex { get; set; }
Property Value
maxLegendLength
public int maxLegendLength { get; set; }
Property Value
ppViewportAmbient
public int ppViewportAmbient { get; set; }
Property Value
showContactPages
public int showContactPages { get; set; }
Property Value
showMessageWindow2
public int showMessageWindow2 { get; set; }
Property Value
smallForms
public int smallForms { get; set; }
Property Value
userEditorText
public string userEditorText { get; set; }
Property Value
Methods
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()