0x004CD99A
| 147 | |
| 148 | // 0x004CD99A |
| 149 | static bool getStationArguments(InteractionArg& interaction) |
| 150 | { |
| 151 | auto* tileElement = reinterpret_cast<World::TileElement*>(interaction.object); |
| 152 | auto* station = tileElement->as<StationElement>(); |
| 153 | if (station == nullptr) |
| 154 | { |
| 155 | return false; |
| 156 | } |
| 157 | if (station->isGhost()) |
| 158 | { |
| 159 | return false; |
| 160 | } |
| 161 | |
| 162 | interaction.value = enumValue(station->stationId()); |
| 163 | interaction.type = InteractionItem::stationLabel; |
| 164 | return getStationArguments(station->stationId()); |
| 165 | } |
| 166 | |
| 167 | // 0x004CD9B0 |
| 168 | static bool getStationArguments(const StationId id) |
no test coverage detected