MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / FillCachedName

Method FillCachedName

src/station_cmd.cpp:471–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471void BaseStation::FillCachedName() const
472{
473 auto tmp_params = MakeParameters(this->index);
474 this->cached_name = GetStringWithArgs(Waypoint::IsExpected(this) ? STR_WAYPOINT_NAME : STR_STATION_NAME, tmp_params);
475}
476
477void ClearAllStationCachedNames()
478{

Callers 1

BaseStationClass · 0.95

Calls 2

MakeParametersFunction · 0.85
GetStringWithArgsFunction · 0.85

Tested by

no test coverage detected