OpenTD.Script Class Reference
Last update: 16.07.2025Base class that is useful for collecting several OpenTD scripts together and presenting them to your users with a common interface. Script is used by the official CRTech OpenTD Demos. More...
Public Member Functions | |
| string | GetName () |
| string | GetDescription () |
| string | GetKeywords () |
| void | Run () |
| override string | ToString () |
Properties | |
| static string | WorkingDirectory [get, set] |
| One working directory for all of your scripts to use. | |
Detailed Description
Base class that is useful for collecting several OpenTD scripts together and presenting them to your users with a common interface. Script is used by the official CRTech OpenTD Demos.
Member Function Documentation
◆ GetDescription()
|
abstract |
◆ GetKeywords()
|
abstract |
◆ GetName()
|
abstract |
◆ Run()
|
abstract |
◆ ToString()
|
inline |
Property Documentation
◆ WorkingDirectory
|
staticgetset |
One working directory for all of your scripts to use.
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/Script.cs