Class LogicObject
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
Base class for TD logic objects.
[DataContract]
public class LogicObject : OpenTDObject, IUpdatable
Inheritance
object ← OpenTDObject ← LogicObject
Implements
Inherited Members
OpenTDObject.SetFrom(OpenTDObject), OpenTDObject.Update(), OpenTDObject.UpdateFromTD(), OpenTDObject.UpdateIn(ThermalDesktop), OpenTDObject.CreateIn(ThermalDesktop), OpenTDObject.TdProxy, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Constructors
LogicObject()
public LogicObject()
Properties
Comment
[DataMember]
public string Comment { get; set; }
Property Value
EnabledExp
[DataMember]
public ExpressionData EnabledExp { get; set; }
Property Value
GroupName
[DataMember]
public string GroupName { get; set; }
Property Value
Handle
[DataMember]
public string Handle { get; set; }
Property Value
Submodel
[DataMember]
public SubmodelNameData Submodel { get; set; }
Property Value
Type
public LogicObject.LogicType Type { get; }
Property Value
Methods
CreateIn(ThermalDesktop)
Creates the TD entity in the specified TD instance.
public override void CreateIn(ThermalDesktop td)
Parameters
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
A string that represents the current object.
Update()
Updates the TD entity with the latest client data.
public override void Update()
UpdateFromTD()
Updates the client-side instance with the latest data from the TD entity.
public override void UpdateFromTD()