Open Rails

Activity.AddRestrictZones Method

[This is preliminary documentation and subject to change.]

Add speedposts to the track database for each Speed Restriction zone

public static void AddRestrictZones(
   Tr_RouteFile routeFile,
   TrackSectionsFile tsectionDat,
   TrackDB trackDB,
   ActivityRestrictedSpeedZones zones
);

Parameters

routeFile
tsectionDat
track sections containing the details of the various sections
trackDB
The track Database that needs to be updated
zones
List of speed restriction zones

See Also

Activity Class | ORTS Namespace