OpenTD.OpenTDObject Class Reference
Last update: 16.07.2025Base class for client-side objects linked to entities in a TD instance. More...
Inheritance diagram for OpenTD.OpenTDObject:

Public Member Functions | |
| OpenTDObject () | |
| 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 Attributes | |
| ITdCommander | TdProxy |
Detailed Description
Base class for client-side objects linked to entities in a TD instance.
- See also
- OpenTD.ThermalDesktop
Constructor & Destructor Documentation
◆ OpenTDObject()
|
inline |
Member Function Documentation
◆ CreateIn()
|
abstract |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ SetFrom()
|
inline |
◆ Update()
|
abstract |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
abstract |
Updates the client-side instance with the latest data from the TD entity.
Implements OpenTD.IUpdatable.
◆ UpdateIn()
|
inline |
Updates the TD entity corresponding to this object in the specified TD instance, if possible.
Implements OpenTD.IReassignable.
Member Data Documentation
◆ TdProxy
|
protected |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/OpenTDObject.cs