| 139 | std::span<const BadgeID> GetBadges(uint index) const override { return this->IsInspectable(index) ? GetStationSpec(TileIndex{index})->badges : std::span<const BadgeID>{}; } |
| 140 | |
| 141 | uint Resolve(uint index, uint var, uint param, bool &avail) const override |
| 142 | { |
| 143 | TileIndex tile{index}; |
| 144 | StationResolverObject ro(GetStationSpec(tile), Station::GetByTile(tile), tile); |
| 145 | return ro.GetScope(VSG_SCOPE_SELF)->GetVariable(var, param, avail); |
| 146 | } |
| 147 | }; |
| 148 | |
| 149 | static const NIFeature _nif_station = { |
nothing calls this directly
no test coverage detected