Skip to main content
Namespace: OpenTD
Assembly: OpenTD.dll
Use the CaseSetManager to run cases in batch mode, or to perform other operations available in TD’s Case Set Manager.

Inheritance

object ← TdConnected ← CaseSetManager

Implements

IUpdatable

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

CaseSetManager(ThermalDesktop)

Parameters

_td ThermalDesktop

Properties

Options

Property Value

CaseSetManagerOptions

Methods

Add(string, string, string)

Parameters

name string groupName string sindaFilenames string

Returns

CaseSet

Delete(string, string)

Parameters

name string groupName string

GetCaseSets()

Returns

List<CaseSet>

IsCaseRunning()

Some types of cases return control to TD before they finish. Example: cases involving Dynamic Sinda. This also means they return control to OpenTD before the case finishes. Use this method to check whether a given TD instance is currently running this kind of case. This method is currently experimental.

Returns

bool

Rename(string, string, string, string)

Parameters

name string groupName string newName string newGroupName string

Run(string, string, bool)

Run one case. Set useOldMethod to true for a less-verbose run method that may not be compatible with every case configuration.

Parameters

name string groupName string useOldMethod bool

Run(IEnumerable<int>)

Run multiple cases, just like selecting them and pressing the run button in the GUI. Use this method to run cases using TD batch mode.

Parameters

caseIndices IEnumerable<int>

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

CaseSet