Skip to main content

update_route_trips

Function update_route_trips 

Source
fn update_route_trips(
    routes: Query<'_, '_, (Entity, &Route, &mut RouteTrips, &mut RouteByDirectionTrips)>,
    changed_routes: Query<'_, '_, Entity, (With<Route>, Changed<Route>)>,
    changed_station_entries: Query<'_, '_, Entity, (With<Station>, Changed<PlatformEntries>)>,
    changed_platform_entries: Query<'_, '_, &ChildOf, (With<Platform>, Changed<PlatformEntries>)>,
    stations: Query<'_, '_, StationQuery>,
    platform_entries: Query<'_, '_, &PlatformEntries>,
    entries: Query<'_, '_, &ChildOf, With<EntryMode>>,
    trip_q: Query<'_, '_, TripQuery>,
    entry_q: Query<'_, '_, EntryQuery>,
    parent_station_or_station: Query<'_, '_, ParentStationOrStation>,
)