0x004B31F2
| 877 | |
| 878 | // 0x004B31F2 |
| 879 | static std::optional<FormatArguments> tooltip(Ui::Window& self, WidgetIndex_t, [[maybe_unused]] const WidgetId id) |
| 880 | { |
| 881 | FormatArguments args{}; |
| 882 | |
| 883 | auto head = Common::getVehicle(self); |
| 884 | if (head == nullptr) |
| 885 | { |
| 886 | return {}; |
| 887 | } |
| 888 | args.skip(2); |
| 889 | args.push(StringIds::getVehicleType(head->vehicleType)); |
| 890 | return args; |
| 891 | } |
| 892 | |
| 893 | // 0x004B1EB5 |
| 894 | static void prepareDraw(Window& self) |
nothing calls this directly
no test coverage detected