| 311 | } |
| 312 | |
| 313 | static VehicleCargo exportVehicleCargo(const OpenLoco::Vehicles::VehicleCargo& src) |
| 314 | { |
| 315 | VehicleCargo dst{}; |
| 316 | dst.acceptedTypes = src.acceptedTypes; |
| 317 | dst.type = src.type; |
| 318 | dst.maxQty = src.maxQty; |
| 319 | dst.townFrom = enumValue(src.townFrom); |
| 320 | dst.numDays = src.numDays; |
| 321 | dst.qty = src.qty; |
| 322 | return dst; |
| 323 | } |
| 324 | |
| 325 | static Entity exportVehicleBogie(const OpenLoco::Vehicles::VehicleBogie& src) |
| 326 | { |
no test coverage detected