Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRCT2/OpenRCT2
/ hasRidden
Method
hasRidden
src/openrct2/entity/Guest.cpp:2381–2384 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2379
}
2380
2381
bool Guest::hasRidden(const Ride& ride) const
2382
{
2383
return RideUse::GetHistory().Contains(id, ride.id);
2384
}
2385
2386
void Guest::setHasRiddenRideType(ride_type_t rideType)
2387
{
Callers
3
GuestFindBestRideToGoOn
Function · 0.80
GuestCalculateRideSatisfaction
Function · 0.80
onUpdateRides
Method · 0.80
Calls
1
Contains
Method · 0.45
Tested by
no test coverage detected