Class CaseSet
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
Client-side representation of a Case Set in a TD instance.
public class CaseSet : CaseSetData, IUpdatable
Inheritance
object ← OpenTDObject ← CaseSetData ← CaseSet
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()
Methods
CreateIn(ThermalDesktop)
Creates the TD entity in the specified TD instance.
public override void CreateIn(ThermalDesktop td)
Parameters
Rename(string, string)
Renames both this client-side instance and the TD entity.
public void Rename(string newName, string newGroupName = "")
Parameters
newName string
newGroupName string
ReplaceFilenames(string, string)
public void ReplaceFilenames(string oldSubstring, string newSubstring)
Parameters
oldSubstring string
newSubstring string
Run(bool)
Attempts to run the case set from within its TD instance. Set useOldMethod to true for a less-verbose run method that may not be compatible with every case configuration.
public void Run(bool useOldMethod = false)
Parameters
useOldMethod bool
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()