Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.RcLogicUserCodeData Class Reference

Last update: 16.07.2025

<exclude > More...

Inheritance diagram for OpenTD.RcLogicUserCodeData:
OpenTD.LogicObjectOpenTD.ITdDerivedOpenTD.OpenTDObjectOpenTD.ITdDerivedOpenTD.IUpdatableOpenTD.IReassignableOpenTD.UserCode

Public Types

enum  LogicType {
  TRANSLATECODE = -1 , ARRAY_INTERP , BIVAR_INTERP , PID ,
  USERCODE , DIFFEQ , DIFFEQANGULAR , DIFFEQRPM ,
  COMPAREDL , USER_ARRAY , SUBCOMPLQ , FORTRANARRAY ,
  MAXLOGICTYPE
}
 TD Logic Object types. More...
 

Public Member Functions

 RcLogicUserCodeData ()
 
override void Update ()
 Updates the TD entity with the latest client data.
 
override void UpdateFromTD ()
 Updates the client-side instance with the latest data from the TD entity.
 
override void CreateIn (ThermalDesktop td)
 Creates the TD entity in the specified TD instance.
 
override string ToString ()
 
void SetFrom (OpenTDObject x)
 
void UpdateIn (ThermalDesktop td)
 Updates the TD entity corresponding to this object in the specified TD instance, if possible.
 

Protected Attributes

ITdCommander TdProxy
 

Properties

string Code [get, set]
 
LogicObjectRoutineTypes Routine [get, set]
 
string Declarations [get, set]
 
string UseStatements [get, set]
 
string Handle [get, set]
 
string Comment [get, set]
 
SubmodelNameData Submodel [get, set]
 
ExpressionData EnabledExp [get, set]
 
string GroupName [get, set]
 
LogicType Type [get]
 
string TdClassName [get]
 

Detailed Description

<exclude >

Member Enumeration Documentation

◆ LogicType

TD Logic Object types.

Enumerator
TRANSLATECODE 
ARRAY_INTERP 
BIVAR_INTERP 
PID 
USERCODE 
DIFFEQ 
DIFFEQANGULAR 
DIFFEQRPM 
COMPAREDL 
USER_ARRAY 
SUBCOMPLQ 
FORTRANARRAY 
MAXLOGICTYPE 

Constructor & Destructor Documentation

◆ RcLogicUserCodeData()

OpenTD.RcLogicUserCodeData.RcLogicUserCodeData ( )
inline

Member Function Documentation

◆ CreateIn()

override void OpenTD.LogicObject.CreateIn ( ThermalDesktop td)
inlineinherited

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ SetFrom()

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ ToString()

override string OpenTD.LogicObject.ToString ( )
inlineinherited

◆ Update()

override void OpenTD.LogicObject.Update ( )
inlineinherited

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.LogicObject.UpdateFromTD ( )
inlineinherited

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

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inlineinherited

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements OpenTD.IReassignable.

Member Data Documentation

◆ TdProxy

ITdCommander OpenTD.OpenTDObject.TdProxy
protectedinherited

Property Documentation

◆ Code

string OpenTD.RcLogicUserCodeData.Code
getset

◆ Comment

string OpenTD.LogicObject.Comment
getsetinherited

◆ Declarations

string OpenTD.RcLogicUserCodeData.Declarations
getset

◆ EnabledExp

ExpressionData OpenTD.LogicObject.EnabledExp
getsetinherited

◆ GroupName

string OpenTD.LogicObject.GroupName
getsetinherited

◆ Handle

string OpenTD.LogicObject.Handle
getsetinherited

◆ Routine

LogicObjectRoutineTypes OpenTD.RcLogicUserCodeData.Routine
getset

◆ Submodel

SubmodelNameData OpenTD.LogicObject.Submodel
getsetinherited

◆ TdClassName

string OpenTD.ITdDerived.TdClassName
getinherited

◆ Type

LogicType OpenTD.LogicObject.Type
getinherited

◆ UseStatements

string OpenTD.RcLogicUserCodeData.UseStatements
getset

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/UserCode.cs

Connect with Ansys