Function Blam::Utils::IO::CreateFileFromHTMLResource

Function Documentation

int Blam::Utils::IO::CreateFileFromHTMLResource(std::string filename, int res_id, bool apply_placeholders)

Creates a file with the contents pulled from the specified application HTML resource.

Return

0

Parameters
  • filename: - The path to the file to create.

  • res_id: - The ID of the HTML resource to load the contents from.

  • apply_placeholders: - Whether or not to apply placeholders to the file contents before writing.