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

Function MakeParameters

src/strings_func.h:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 */
106template <typename... Args>
107auto MakeParameters(Args &&... args)
108{
109 return std::array<StringParameter, sizeof...(args)>({std::forward<StringParameter>(args)...});
110}
111
112/**
113 * Get a parsed string with most special stringcodes replaced by the string parameters.

Callers 15

FillCachedNameMethod · 0.85
FormatYmdStringFunction · 0.85
FormatMonthAndYearFunction · 0.85
FormatTinyOrISODateFunction · 0.85
FormatStringFunction · 0.85
GetTownNameFunction · 0.85
MakeCargoListStringMethod · 0.85
OnRightClickMethod · 0.85
GetStringFunction · 0.85
GetEncodedStringFunction · 0.85
FillCachedNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected