Open Rails

MSTSPath Members

MSTSPath overview

Public Static Fields

DefaultLocation

Public Static Methods

Base Returns the base path of the MSTS installation
ConsistFolder
GetActivityFolder
GetConPath
GetEngPath
GetPatPath
GetSrvPath
GetTrfPath
GetTRKFileName
GetWagPath
GlobalSoundFolder
RouteFolder Returns the route folder with out trailing \
SMSSoundPath Given a soundfile reference in a cvf file, return the path to the sound file
TITFilePath
TrainsetFolder
TrainSoundPath Given a soundfile reference in a wag or eng file, return the path the sound file

Public Instance Constructors

MSTSPath Constructor Initializes a new instance of the MSTSPath class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

MSTSPath Class | MSTS Namespace