modio::ModfileEditor - modio/modio-sdk-legacy GitHub Wiki

Object needed to update a [modio::Modfile]] using the [editModfile function.

ModfileEditor

ModfileEditor::ModfileEditor()

ModfileEditor constructor.

setVersion

void ModfileEditor::setVersion(const std::string& path version)
Name Type Description
version const std::string& path The release version this file represents.

setChangelog

void ModfileEditor::setChangelog(const std::string& path changelog)
Name Type Description
changelog const std::string& path List of all changes in this file release.

setActive

void ModfileEditor::setActive(bool active)
Name Type Description
active bool Indicates if the file is accessible to public.