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

Object needed to create a [modio::Modfile]] using the [addModfile method.

ModfileCreator

ModfileCreator::ModfileCreator()

ModfileCreator constructor.

setPath

void ModfileCreator::setPath(const std::string& path)
Name Type Description
path const std::string& path Local mod directory path.

setVersion

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

setChangelog

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

setActive

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

setFilehash

void ModfileCreator::setFilehash(const std::string& filehash)
Name Type Description
filehash const std::string& MD5 hash of the modfile.