Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.OpenTDObject Class Reference

Last update: 16.07.2025

Base class for client-side objects linked to entities in a TD instance. More...

Inheritance diagram for OpenTD.OpenTDObject:
OpenTD.IUpdatableOpenTD.IReassignableOpenTD.CaseSetDataOpenTD.DbObjectOpenTD.LayerDataOpenTD.LogicObjectOpenTD.MeasureMappingTolerancesOpenTD.RcNotesDataOpenTD.UniqueNameObjectOpenTD.CaseSetOpenTD.RadCAD.OrbitOpenTD.TdDbEntityDataOpenTD.LayerOpenTD.RcArrayInterpolationDataOpenTD.RcLogicUDFACollectionDataOpenTD.RcLogicUserArrayDataOpenTD.RcLogicUserCodeDataOpenTD.RcPIDDataOpenTD.NotesOpenTD.MaterialStackDataOpenTD.PostProcessing.DatasetOpenTD.RadCAD.OpticalPropsDataOpenTD.SubmodelDataOpenTD.SymbolDataOpenTD.ThermoPropsData

Public Member Functions

 OpenTDObject ()
 
void SetFrom (OpenTDObject x)
 
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.
 
void UpdateIn (ThermalDesktop td)
 Updates the TD entity corresponding to this object in the specified TD instance, if possible.
 
void CreateIn (ThermalDesktop td)
 Creates the TD entity in the specified TD instance.
 

Protected Attributes

ITdCommander TdProxy
 

Detailed Description

Base class for client-side objects linked to entities in a TD instance.

See also
OpenTD.ThermalDesktop

Constructor & Destructor Documentation

◆ OpenTDObject()

OpenTD.OpenTDObject.OpenTDObject ( )
inline

Member Function Documentation

◆ CreateIn()

void OpenTD.OpenTDObject.CreateIn ( ThermalDesktop td)
abstract

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ SetFrom()

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inline

◆ Update()

void OpenTD.OpenTDObject.Update ( )
abstract

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

void OpenTD.OpenTDObject.UpdateFromTD ( )
abstract

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

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inline

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements OpenTD.IReassignable.

Member Data Documentation

◆ TdProxy

ITdCommander OpenTD.OpenTDObject.TdProxy
protected

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/OpenTDObject.cs

Connect with Ansys