Skip to main content
Namespace: OpenTD.FloCAD
Assembly: OpenTD.dll
Client-side representation of a Compartment entity in a TD instance.

Inheritance

object ← OpenTDObject ← DbObject ← TdDbEntityData ← Compartment

Implements

IUpdatable

Inherited Members

TdDbEntityData.SetFrom(TdDbEntityData), TdDbEntityData.Layer, TdDbEntityData.ColorIndex, TdDbEntityData.ToString(string, string, string), TdDbEntityData.ToString(string, int, string), TdDbEntityData.ToString(), DbObject.SetFrom(DbObject), DbObject.Update(), DbObject.UpdateFromTD(), DbObject.CreateIn(ThermalDesktop), DbObject.Handle, DbObject.TypeName, DbObject.Equals(object), DbObject.GetHashCode(), OpenTDObject.SetFrom(OpenTDObject), OpenTDObject.Update(), OpenTDObject.UpdateFromTD(), OpenTDObject.UpdateIn(ThermalDesktop), OpenTDObject.CreateIn(ThermalDesktop), OpenTDObject.TdProxy, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

Compartment()

Properties

Bays

Property Value

List<Bay>

Comment

Property Value

string

CompartmentId

Property Value

int

Enabled

Property Value

int

EnabledExp

Property Value

ExpressionData

LiquidColor

Property Value

int

LumpHandle

Property Value

string

PackingFactor

Property Value

double

PackingFactorExp

Property Value

ExpressionData

ShowIds

Property Value

bool

ShowLV

Property Value

int

ShowLVExp

Property Value

ExpressionData

ShowSelectionRing

Property Value

int

ShowSelectionRingExp

Property Value

ExpressionData

Ties

Property Value

List<CompartmentTie>

TwinLump

Property Value

int

_LumpHandle

Do not use.

Property Value

string

Methods

CreateIn(ThermalDesktop)

Creates the TD entity in the specified TD instance.

Parameters

td ThermalDesktop

ToString()

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Update()

Updates the TD entity with the latest client data.

UpdateFromTD()

Updates the client-side instance with the latest data from the TD entity.

See Also

ThermalDesktop