Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.UniqueNameObject Class Reference

Last update: 16.07.2025

An object that is uniquely-identified by its name, instead of, for example, an AutoCAD handle. More...

Inheritance diagram for OpenTD.UniqueNameObject:
OpenTD.OpenTDObjectOpenTD.IUpdatableOpenTD.IReassignableOpenTD.MaterialStackDataOpenTD.PostProcessing.DatasetOpenTD.RadCAD.OpticalPropsDataOpenTD.SubmodelDataOpenTD.SymbolDataOpenTD.ThermoPropsDataOpenTD.MaterialStackOpenTD.RadCAD.OpticalPropsOpenTD.FloCAD.FluidSubmodelDataOpenTD.SubmodelOpenTD.SymbolOpenTD.ThermoPropsOpenTD.FloCAD.FluidSubmodel

Public Member Functions

virtual void Rename (string to)
 Use this method to rename the client-side object and the TD item it is linked to.
 
override string ToString ()
 
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 Member Functions

virtual string ModifyName (string name)
 
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

An object that is uniquely-identified by its name, instead of, for example, an AutoCAD handle.

See also
OpenTD.OpenTDObject

Member Function Documentation

◆ CreateIn()

void OpenTD.OpenTDObject.CreateIn ( ThermalDesktop td)
abstractinherited

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ ModifyName()

virtual string OpenTD.UniqueNameObject.ModifyName ( string name)
inlineprotectedvirtual

Reimplemented in OpenTD.SubmodelData.

◆ ProxyRename()

void OpenTD.UniqueNameObject.ProxyRename ( string from,
string to )
abstractprotected

◆ Rename()

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

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.UniqueNameObject.ToString ( )
inline

◆ Update()

void OpenTD.OpenTDObject.Update ( )
abstractinherited

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

void OpenTD.OpenTDObject.UpdateFromTD ( )
abstractinherited

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
getset

Do not use.

◆ Name

string OpenTD.UniqueNameObject.Name
get

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/TDDEV_ALPHA/buildXX/OpenTD/UniqueNameObject.cs

Connect with Ansys