OpenTD.Submodel Class Reference
Last update: 16.07.2025A thermal submodel. Implicitly converts to/from string. More...
Inheritance diagram for OpenTD.Submodel:

Public Member Functions | |
| override void | CreateIn (ThermalDesktop td) |
| Creates the TD entity in the specified TD instance. | |
| 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 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
A thermal submodel. Implicitly converts to/from string.
Member Function Documentation
◆ CreateIn()
|
inline |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ ModifyName()
|
inlineprotectedvirtualinherited |
Reimplemented from OpenTD.UniqueNameObject.
◆ operator string()
|
inlinestaticinherited |
◆ operator SubmodelData()
|
inlinestaticinherited |
◆ ProxyRename()
|
inlineprotectedinherited |
◆ Rename()
|
inlinevirtualinherited |
Use this method to rename the client-side object and the TD item it is linked to.
◆ SetFrom()
|
inlineinherited |
◆ ToString()
|
inlineinherited |
◆ Update()
|
inlineinherited |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
inlineinherited |
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