Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

modio::ModfileCreator

Ahmed Castro edited this page Sep 7, 2018 · 4 revisions

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.

Contents

Clone this wiki locally