Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.SymbolData Class Reference

Last update: 16.07.2025

<exclude > More...

Inheritance diagram for OpenTD.SymbolData:
OpenTD.UniqueNameObjectOpenTD.ITdDerivedOpenTD.OpenTDObjectOpenTD.IUpdatableOpenTD.IReassignableOpenTD.Symbol

Public Types

enum  SymbolType { DOUBLE , ARRAY , STRING }
 Type of symbol: string, array, etc. More...
 
enum  OutputType { VALUE , EXPRESSION }
 How a symbol will be output to Sinda: just the value or an expression. More...
 

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

ITdCommander TdProxy
 

Properties

string Value [get, set]
 
string Description [get, set]
 
SymbolType Type [get, set]
 
string Group [get, set]
 
bool CheckConsistentUnitsUse [get, set]
 
bool OutputAsRegister [get, set]
 
OutputType Output [get, set]
 
bool OutputInteger [get, set]
 
bool DisableWarnings [get, set]
 
bool DriveAutoCADDimension [get, set]
 
string Name [get]
 This object is uniquely-identified by this name.
 
string _n [get, set]
 Do not use.
 

Detailed Description

<exclude >

Member Enumeration Documentation

◆ OutputType

How a symbol will be output to Sinda: just the value or an expression.

Enumerator
VALUE 
EXPRESSION 

◆ SymbolType

Type of symbol: string, array, etc.

Enumerator
DOUBLE 
ARRAY 
STRING 

Constructor & Destructor Documentation

◆ SymbolData()

OpenTD.SymbolData.SymbolData ( )
inline

Member Function Documentation

◆ CreateIn()

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

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ ModifyName()

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

Reimplemented in OpenTD.SubmodelData.

◆ ProxyRename()

override void OpenTD.SymbolData.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.UniqueNameObject.ToString ( )
inlineinherited

◆ Update()

override void OpenTD.SymbolData.Update ( )
inline

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.SymbolData.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.

◆ CheckConsistentUnitsUse

bool OpenTD.SymbolData.CheckConsistentUnitsUse
getset

◆ Description

string OpenTD.SymbolData.Description
getset

◆ DisableWarnings

bool OpenTD.SymbolData.DisableWarnings
getset

◆ DriveAutoCADDimension

bool OpenTD.SymbolData.DriveAutoCADDimension
getset

◆ Group

string OpenTD.SymbolData.Group
getset

◆ Name

string OpenTD.UniqueNameObject.Name
getinherited

This object is uniquely-identified by this name.

◆ Output

OutputType OpenTD.SymbolData.Output
getset

◆ OutputAsRegister

bool OpenTD.SymbolData.OutputAsRegister
getset

◆ OutputInteger

bool OpenTD.SymbolData.OutputInteger
getset

◆ Type

SymbolType OpenTD.SymbolData.Type
getset

◆ Value

string OpenTD.SymbolData.Value
getset

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

Connect with Ansys