Class OpenTDObject
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
Base class for client-side objects linked to entities in a TD instance.
[DataContract]
public abstract class OpenTDObject : IUpdatable
Inheritance
Derived
DbObject, LogicObject, MeasureMappingTolerances, UniqueNameObject
Implements
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Constructors
OpenTDObject()
public OpenTDObject()
Fields
TdProxy
protected ITdCommander TdProxy
Field Value
ITdCommander
Methods
CreateIn(ThermalDesktop)
Creates the TD entity in the specified TD instance.
public abstract void CreateIn(ThermalDesktop td)
Parameters
SetFrom(OpenTDObject)
public void SetFrom(OpenTDObject x)
Parameters
Update()
Updates the TD entity with the latest client data.
public abstract void Update()
UpdateFromTD()
Updates the client-side instance with the latest data from the TD entity.
public abstract void UpdateFromTD()
UpdateIn(ThermalDesktop)
Updates the TD entity corresponding to this object in the specified TD instance, if possible.
public void UpdateIn(ThermalDesktop td)