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

modio::ModCreator

Ahmed Castro edited this page Aug 29, 2018 · 1 revision

Object needed to create a modio::Mod using the addMod method.

ModCreator

ModCreator::ModCreator()

ModCreator constructor.

setVisible

void ModCreator::setVisible(u32 visible)
Name Type Description
visible u32 Mod visibility value.

setMaturityOption

void setMaturityOption(u32 maturity_option)
Name Type Description
maturity_option u32 Maturity option value.

setLogoPath

void ModCreator::setLogoPath(const std::string& logo_path)
Name Type Description
logo_path const std::string& Logo local path.

setName

void ModCreator::setName(const std::string& name)
Name Type Description
name const std::string& Name of the mod.

setNameid

void ModCreator::setNameid(const std::string& nameid)
Name Type Description
nameid const std::string& Unique SEO-friendly mod uri.

setSummary

void ModCreator::setSummary(const std::string& summary)
Name Type Description
summary const std::string& Brief summary of the mod.

setDescription

void ModCreator::setDescription(const std::string& description)
Name Type Description
description const std::string& Description of the mod.

setHomepage

void ModCreator::setHomepage(const std::string& homepage)
Name Type Description
homepage const std::string& Mod homepage URL.

setMetadata

void ModCreator::setMetadataBlob(const std::string& metadata_blob)
Name Type Description
metadata_blob const std::string& Metadata for the mod.

addTag

void ModCreator::addTag(const std::string& tag)
Name Type Description
tag const std::string& Add a tag to the mod.

Contents

Clone this wiki locally