Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.SubmodelData Class Reference

Last update: 16.07.2025

<exclude > More...

Inheritance diagram for OpenTD.SubmodelData:
OpenTD.UniqueNameObjectOpenTD.OpenTDObjectOpenTD.IUpdatableOpenTD.IReassignableOpenTD.FloCAD.FluidSubmodelDataOpenTD.SubmodelOpenTD.FloCAD.FluidSubmodel

Public Member Functions

 SubmodelData ()
 
 SubmodelData (string name)
 
override void Update ()
 Updates the TD entity with the latest client data.
 
override void UpdateFromTD ()
 Updates the client-side instance with the latest data from the TD entity.
 
override void CreateIn (ThermalDesktop td)
 Creates the TD entity in the specified TD instance.
 
override string ToString ()
 
virtual void Rename (string to)
 Use this method to rename the client-side object and the TD item it is linked to.
 
void SetFrom (OpenTDObject x)
 
void UpdateIn (ThermalDesktop td)
 Updates the TD entity corresponding to this object in the specified TD instance, if possible.
 

Static Public Member Functions

static implicit operator SubmodelData (string submodelName)
 
static implicit operator string (SubmodelData s)
 

Protected Member Functions

override string ModifyName (string name)
 
override void ProxyRename (string from, string to)
 

Protected Attributes

ITdCommander TdProxy
 

Properties

string Name [get]
 This object is uniquely-identified by this name.
 
string _n [get, set]
 Do not use.
 

Detailed Description

<exclude >

Constructor & Destructor Documentation

◆ SubmodelData() [1/2]

OpenTD.SubmodelData.SubmodelData ( )
inline

◆ SubmodelData() [2/2]

OpenTD.SubmodelData.SubmodelData ( string name)
inline

Member Function Documentation

◆ CreateIn()

override void OpenTD.SubmodelData.CreateIn ( ThermalDesktop td)
inline

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ ModifyName()

override string OpenTD.SubmodelData.ModifyName ( string name)
inlineprotectedvirtual

Reimplemented from OpenTD.UniqueNameObject.

◆ operator string()

static implicit OpenTD.SubmodelData.operator string ( SubmodelData s)
inlinestatic

◆ operator SubmodelData()

static implicit OpenTD.SubmodelData.operator SubmodelData ( string submodelName)
inlinestatic

◆ ProxyRename()

override void OpenTD.SubmodelData.ProxyRename ( string from,
string to )
inlineprotected

◆ Rename()

virtual void OpenTD.UniqueNameObject.Rename ( string to)
inlinevirtualinherited

Use this method to rename the client-side object and the TD item it is linked to.

◆ SetFrom()

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ ToString()

override string OpenTD.SubmodelData.ToString ( )
inline

◆ Update()

override void OpenTD.SubmodelData.Update ( )
inline

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.SubmodelData.UpdateFromTD ( )
inline

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

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inlineinherited

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
protectedinherited

Property Documentation

◆ _n

string OpenTD.UniqueNameObject._n
getsetinherited

Do not use.

◆ Name

string OpenTD.UniqueNameObject.Name
getinherited

This object is uniquely-identified by this name.


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

Connect with Ansys