Open Rails

ORRouteConfig Members

ORRouteConfig overview

Public Static Methods

DeserializeJSON
LoadConfig

Public Instance Constructors

ORRouteConfig Constructor The class constructor, but, don't use it. Prefer to use the static method 'LoadConfig' wich return this object

Public Instance Fields

a
ActionContainer
FileName
routeItems
toSave

Public Instance Properties

AllItems
RouteName
RoutePath
TileBase
traveller

Public Instance Methods

AddItem Use this function to add a new item into the 'AllItems' list.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindMetadataItem
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetORItemForNode Scan the current orRouteConfig and search for items related to the given node
GetStationItem
GetType (inherited from Object)Gets the Type of the current instance.
Index
ReduceItems
RemoveConnectorItem Used to remove a connector item from the 'AllItem' list.
RemoveItem Used to remove an item from all list of items: AllItems, RouteItems
SaveConfig
SearchByLocation
SearchNextPathNode
SerializeJSON
SetTileBase SetTileBase is used to initialize the TileBase for the route. This information is then used to 'reduce' the value of the MSTS Coordinate wich are too big to be correctly shown in the editor
SetTraveller
StartSearchPath
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

ORRouteConfig Class | Orts.Formats.OR Namespace