| 705 | std::span<const BadgeID> GetBadges(uint index) const override { return this->IsInspectable(index) ? GetRoadStopSpec(TileIndex{index})->badges : std::span<const BadgeID>{}; } |
| 706 | |
| 707 | uint Resolve(uint index, uint var, uint32_t param, bool &avail) const override |
| 708 | { |
| 709 | TileIndex tile{index}; |
| 710 | StationGfx view = GetStationGfx(tile); |
| 711 | RoadStopResolverObject ro(GetRoadStopSpec(tile), BaseStation::GetByTile(tile), tile, INVALID_ROADTYPE, GetStationType(tile), view); |
| 712 | return ro.GetScope(VSG_SCOPE_SELF)->GetVariable(var, param, avail); |
| 713 | } |
| 714 | }; |
| 715 | |
| 716 | static const NIFeature _nif_roadstop = { |
nothing calls this directly
no test coverage detected