OpenTD.SubmodelData Class Reference
Last update: 16.07.2025<exclude > More...
Inheritance diagram for OpenTD.SubmodelData:

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]
|
inline |
◆ SubmodelData() [2/2]
|
inline |
Member Function Documentation
◆ CreateIn()
|
inline |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ ModifyName()
|
inlineprotectedvirtual |
Reimplemented from OpenTD.UniqueNameObject.
◆ operator string()
|
inlinestatic |
◆ operator SubmodelData()
|
inlinestatic |
◆ ProxyRename()
|
inlineprotected |
◆ Rename()
|
inlinevirtualinherited |
Use this method to rename the client-side object and the TD item it is linked to.
◆ SetFrom()
|
inlineinherited |
◆ ToString()
|
inline |
◆ Update()
|
inline |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
inline |
Updates the client-side instance with the latest data from the TD entity.
Implements OpenTD.IUpdatable.
◆ UpdateIn()
|
inlineinherited |
Updates the TD entity corresponding to this object in the specified TD instance, if possible.
Implements OpenTD.IReassignable.
Member Data Documentation
◆ TdProxy
|
protectedinherited |
Property Documentation
◆ _n
|
getsetinherited |
Do not use.
◆ 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