OpenTD.DbObject Class Reference
Last update: 16.07.2025Base class for objects stored in the AutoCAD database and uniquely-identified by AutoCAD handles. More...
Inheritance diagram for OpenTD.DbObject:

Public Member Functions | |
| DbObject () | |
| void | SetFrom (DbObject x) |
| DbObject (string _Handle) | |
| 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 bool | Equals (object obj) |
| override int | GetHashCode () |
| 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 bool | operator== (DbObject first, DbObject second) |
| static bool | operator!= (DbObject first, DbObject second) |
Protected Attributes | |
| ITdCommander | TdProxy |
Properties | |
| string | Handle [get, set] |
| string | TypeName [get, set] |
Detailed Description
Base class for objects stored in the AutoCAD database and uniquely-identified by AutoCAD handles.
Constructor & Destructor Documentation
◆ DbObject() [1/2]
|
inline |
◆ DbObject() [2/2]
|
inline |
Member Function Documentation
◆ CreateIn()
|
inline |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ Equals()
|
inline |
◆ GetHashCode()
|
inline |
◆ operator!=()
◆ operator==()
◆ SetFrom() [1/2]
|
inline |
◆ SetFrom() [2/2]
|
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
◆ Handle
|
getset |
◆ TypeName
|
getset |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/DbObject.cs