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

Method FillCachedName

src/industry_cmd.cpp:2603–2607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2601}
2602
2603void Industry::FillCachedName() const
2604{
2605 auto tmp_params = MakeParameters(this->index);
2606 this->cached_name = GetStringWithArgs(STR_INDUSTRY_NAME, tmp_params);
2607}
2608
2609void ClearAllIndustryCachedNames()
2610{

Callers 1

IndustryClass · 0.95

Calls 2

MakeParametersFunction · 0.85
GetStringWithArgsFunction · 0.85

Tested by

no test coverage detected