MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / pickupToolError

Function pickupToolError

src/OpenLoco/src/Ui/Windows/Vehicle.cpp:4740–4747  ·  view source on GitHub ↗

0x004B2D8A

Source from the content-addressed store, hash-verified

4738
4739 // 0x004B2D8A
4740 static void pickupToolError(const Vehicles::VehicleHead& head)
4741 {
4742 auto args = FormatArguments::common();
4743 args.skip(6);
4744 args.push(head.name);
4745 args.push(head.ordinalNumber);
4746 Error::open(StringIds::cant_place_string_id_here, StringIds::null);
4747 }
4748
4749 static void pickupToolPlacementCommandCallback(uint32_t gameCommandResult, Window& self, EntityId vehicleHead)
4750 {

Callers 3

pickupToolDownAirFunction · 0.85
pickupToolDownWaterFunction · 0.85
pickupToolDownLandFunction · 0.85

Calls 4

commonFunction · 0.85
openFunction · 0.70
skipMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected