* Parse most format codes within a string and write the result to a buffer. * This is a wrapper for a span of StringParameter which creates the StringParameters state and forwards to the regular call. * @param builder The string builder to write the final string to. * @param str Pointer to string to format. * @param params The span of parameters to pass. * @param case_index The current case i
| 259 | * @param dry_run True when the args' type data is not yet initialized. |
| 260 | */ |
| 261 | static void FormatString(StringBuilder &builder, std::string_view str, std::span<StringParameter> params, uint case_index = 0, bool game_script = false, bool dry_run = false) |
| 262 | { |
| 263 | StringParameters tmp_params{params}; |
| 264 | FormatString(builder, str, tmp_params, case_index, game_script, dry_run); |
| 265 | } |
| 266 | |
| 267 | struct LanguagePack : public LanguagePackHeader { |
| 268 | char data[]; // list of strings |
no test coverage detected