|
Simutrans-Squirrel-API OTRP v63_4
|

Public Attributes | |
| halt_x | halt |
| integer | weight |
| integer | raw_weight |
| bool | is_foot_path |
| line_x | line |
Connection returned by halt_x::get_connections
Definition at line 5 of file api_halt.cc.
| halt_x connection::halt |
Halt to which the connection goes.
Definition at line 10 of file api_halt.cc.
| bool connection::is_foot_path |
True if passengers traverse this connection on foot.
Definition at line 28 of file api_halt.cc.
| line_x connection::line |
Line that is used for this connection.
Definition at line 32 of file api_halt.cc.
| integer connection::raw_weight |
Weight used internally by route search before conversion. In route-cost mode this is the route cost. With time-based routing it is the journey time in ticks.
Definition at line 24 of file api_halt.cc.
| integer connection::weight |
Connection weight converted from ticks to displayed time units. This value represents journey time only when time-based routing is enabled for the requested goods category. In route-cost mode the raw route cost is passed through the time conversion and this value has no useful meaning; use raw_weight instead.
Definition at line 18 of file api_halt.cc.