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

Method hasFlags

src/OpenLoco/src/Vehicles/VehicleHead.cpp:538–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536 bool isReversed; // At start matches wasReversed could be modified during the function
537 bool wasReversed;
538 constexpr bool hasFlags(VehicleObjectFlags flagsToTest) const
539 {
540 return (flags & flagsToTest) != VehicleObjectFlags::none;
541 }
542 };
543
544 // 0x004AF7A4

Callers 15

autoLayoutTrainMethod · 0.45
canVehiclesCoupleFunction · 0.45
categoriseTimeElapsedMethod · 0.45
updateAirMethod · 0.45
sub_427122Method · 0.45
getLoadingModifierMethod · 0.45
updateLoadCargoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected