| 697 | |
| 698 | class NIHRoadStop : public NIHelper { |
| 699 | bool IsInspectable(uint index) const override { return GetRoadStopSpec(TileIndex{index}) != nullptr; } |
| 700 | uint GetParent(uint index) const override { return GetInspectWindowNumber(GSF_FAKE_TOWNS, BaseStation::GetByTile(TileIndex{index})->town->index); } |
| 701 | const void *GetInstance(uint)const override { return nullptr; } |
| 702 | const void *GetSpec(uint index) const override { return GetRoadStopSpec(TileIndex{index}); } |
no test coverage detected