| 134 | uint GetParent(uint index) const override { return GetInspectWindowNumber(GSF_FAKE_TOWNS, Station::GetByTile(TileIndex{index})->town->index); } |
| 135 | const void *GetInstance(uint ) const override { return nullptr; } |
| 136 | const void *GetSpec(uint index) const override { return GetStationSpec(TileIndex{index}); } |
| 137 | std::string GetName(uint index) const override { return GetString(STR_NEWGRF_INSPECT_CAPTION_OBJECT_AT, STR_STATION_NAME, GetStationIndex(index), index); } |
| 138 | uint32_t GetGRFID(uint index) const override { return (this->IsInspectable(index)) ? GetStationSpec(TileIndex{index})->grf_prop.grfid : 0; } |
| 139 | std::span<const BadgeID> GetBadges(uint index) const override { return this->IsInspectable(index) ? GetStationSpec(TileIndex{index})->badges : std::span<const BadgeID>{}; } |
nothing calls this directly
no test coverage detected