Skip to main content

OpenTD reference 2026 R1

Class AdvancedPreferences

Last update: 09.03.2026

Namespace: 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

IUpdatable

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

int

automaticRegens

public int automaticRegens { get; set; }

Property Value

int

bmpPngGifIndex

public int bmpPngGifIndex { get; set; }

Property Value

int

clearMarkersBeforeShowContactorMarkers

public int clearMarkersBeforeShowContactorMarkers { get; set; }

Property Value

int

disableDragDrop

public int disableDragDrop { get; set; }

Property Value

int

disableHardwareGraphicsDuringCalcs

public int disableHardwareGraphicsDuringCalcs { get; set; }

Property Value

int

disableHighlightUponStartup

public int disableHighlightUponStartup { get; set; }

Property Value

int

disableUndoUponStartup

public int disableUndoUponStartup { get; set; }

Property Value

int

doubleClickEdit

public int doubleClickEdit { get; set; }

Property Value

int

editorIndex

public int editorIndex { get; set; }

Property Value

int

enableLighting

public int enableLighting { get; set; }

Property Value

int

enableSystemConfig

public int enableSystemConfig { get; set; }

Property Value

int

initACADSettings

public int initACADSettings { get; set; }

Property Value

int

invalidateObjectThreshold

public int invalidateObjectThreshold { get; set; }

Property Value

int

legendLabelsIndex

public int legendLabelsIndex { get; set; }

Property Value

int

maxLegendLength

public int maxLegendLength { get; set; }

Property Value

int

ppViewportAmbient

public int ppViewportAmbient { get; set; }

Property Value

int

showContactPages

public int showContactPages { get; set; }

Property Value

int

showMessageWindow2

public int showMessageWindow2 { get; set; }

Property Value

int

smallForms

public int smallForms { get; set; }

Property Value

int

userEditorText

public string userEditorText { get; set; }

Property Value

string

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()

Connect with Ansys