TrainzScript Library Reference
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
- AsyncObjectSearchResult
- 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 *
- Router *
- Str *
- TrainUtil *