Incubator/ConsistDataHandler

From TrainzOnline
Jump to: navigation, search

The Incubator/ConsistDataHandler is an Incubator project to create a rule for supporting Consist data bundles. This is dependant on the Incubator/DataBundleHelper project.

Summary

When the "open" action is performed on a Consist DataBundle, this rule will display a small movable GUI which gives a consist summary and provides a "place consist" toggle button. When the toggle is active, the user may choose a location on the track and the rule should place the consist at that location. If the consist places correctly, the interface closes, otherwise the toggle switches off and an error is displayed, but the interface is not closed. The user may close the interface at any time which cancels placement.

Implementation specification details

The ConsistDataHandler rule is a datahandler script dedicated to new consist placement through databundle helper library call.

Here are the main detailed specifications for this databundle handler.

Personal tools