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 ← CaseSetManagerImplements
IUpdatableInherited 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
CaseSetManagerOptionsMethods
Add(string, string, string)
Parameters
name string
groupName string
sindaFilenames string
Returns
CaseSetDelete(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
boolRename(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>