TrainzScript Library Reference
m (Note location of Trainz script source code) |
m (Add NamedObjectInfo, AsyncQueryHelper stubs) |
||
Line 11: | Line 11: | ||
**[[class GameObjectID|GameObjectID]] | **[[class GameObjectID|GameObjectID]] | ||
**[[class GameObject|GameObject]] | **[[class GameObject|GameObject]] | ||
− | ***[[class AsyncObjectSearchResult|AsyncObjectSearchResult]] | + | ***[[class AsyncQueryHelper|AsyncQueryHelper]] |
+ | ****[[class AsyncObjectSearchResult|AsyncObjectSearchResult]] | ||
***[[class AsyncTrainzAssetSearchObject|AsyncTrainzAssetSearchObject]] | ***[[class AsyncTrainzAssetSearchObject|AsyncTrainzAssetSearchObject]] | ||
***[[class Browser|Browser]] | ***[[class Browser|Browser]] | ||
Line 88: | Line 89: | ||
*[[class GSTrackSearch|GSTrackSearch]] * | *[[class GSTrackSearch|GSTrackSearch]] * | ||
*[[class Math|Math]] * | *[[class Math|Math]] * | ||
+ | *[[class NamedObjectInfo|NamedObjectInfo]] * | ||
*[[class Router|Router]] * | *[[class Router|Router]] * | ||
*[[class Str|Str]] * | *[[class Str|Str]] * |
Revision as of 04:12, 29 December 2020
The following is a list of all classes provided by Auran for use with the Trainz game runtime environment. Some of these classes may not be available from other runtime environments. Please see the TrainzScript Language Reference for a list of the "core" TrainzScript classes that are present in all runtime environments. This list may not be complete, but will be extended in future.
The source code for all classes can be found within your Trainz installation, under resources/scripts. Most classes are contained within obviously named files - e.g. the World class can be found in world.gs - although not all classes are in separate files - TrainUtil is located in common.gs. Thorough documentation of classes, methods, and constants exists within the source code.
Classes marked with an asterisk have no parent class.
- AssetCategory *
- GSObject *
- Asset
- DLCInfo
- GameObjectID
- GameObject
- AsyncQueryHelper
- AsyncTrainzAssetSearchObject
- Browser
- BrowserInterface
- CabinControl
- ConstructorsBase
- DLCStore
- DriverCommand
- DriverCommands
- HTMLProprtyHandler
- Interface
- InterlockingTowerPath
- JunctionBaseGameObject (Additional parent class: JunctionBase *)
- NavPoints
- ChatChannel
- OnlineAccess
- OnlineGroup
- Track
- TrackCircuitBlock
- Train
- TrainzAssetSearch
- TrainzGameObject
- GameplayMenuBase
- Library (Additional parent class: PropertyObject *)
- MeshObject (Additional parent class: PropertyObject *)
- ModulScript
- ScenarioBehavior
- TrainzScriptBase
- World1
- HTMLBuffer
- IndustryTrainController
- KUID
- KUIDList
- LoadingReport
- Menu
- Permit
- ProductFilter
- ProductQueue
- SecurityToken
- Soup
- StringTable
- TrackPathDisplay
- TrainTimeTable
- GSTrackSearch *
- Math *
- NamedObjectInfo *
- Router *
- Str *
- TrainUtil *