OpenTD.MaterialStack Class Reference
Last update: 16.07.2025Client-side representation of a Material Stack entity in a TD instance. More...
Inheritance diagram for OpenTD.MaterialStack:

Public Member Functions | |
| 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 | Comment [get, set] |
| List< MaterialStackLayerData > | Layers [get, set] |
| int | GenerateLateralConductors [get, set] |
| string | Name [get] |
| This object is uniquely-identified by this name. | |
| string | _n [get, set] |
| Do not use. | |
Detailed Description
Client-side representation of a Material Stack entity in a TD instance.
- See also
- OpenTD.ThermalDesktop
Member Function Documentation
◆ CreateIn()
|
inline |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ ModifyName()
|
inlineprotectedvirtualinherited |
Reimplemented in OpenTD.SubmodelData.
◆ 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()
|
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.
◆ Comment
|
getsetinherited |
◆ GenerateLateralConductors
|
getsetinherited |
◆ Layers
|
getsetinherited |
◆ 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/TDDEV_ALPHA/buildXX/OpenTD/MaterialStack.cs