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

Function formatString

src/OpenLoco/src/Localisation/Formatting.cpp:638–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636 }
637
638 static void formatString(StringBuffer& buffer, StringId id)
639 {
640 auto args = FormatArgumentsView{};
641 formatStringImpl(buffer, id, args);
642 }
643
644 // TODO: Remove unsafe variant.
645 char* formatString(char* buffer, StringId id)

Callers 15

initFunction · 0.85
postFunction · 0.85
exitWithErrorFunction · 0.85
getStatusStringMethod · 0.85
generateTownNameFunction · 0.85
getStatusStringMethod · 0.85
drawStationNameFunction · 0.85
updateLabelMethod · 0.85
generateNewStationNameFunction · 0.85
drawLabelMethod · 0.85
updateLabelMethod · 0.85

Calls 4

formatStringImplFunction · 0.85
StringBufferClass · 0.85
nullTerminateMethod · 0.80
currentMethod · 0.45

Tested by

no test coverage detected