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

ModCreator

Ahmed Castro edited this page Sep 8, 2018 · 3 revisions

Object needed to create a Mod object using the addMod method.

ModCreator

ModCreator::ModCreator()

ModCreator constructor.

setVisible

Void ModCreator::setVisible(visible:Int)
Name Type Description
visible Int Mod visibility value.

setMaturityOption

Void setMaturityOption(maturity_option:Int)
Name Type Description
maturity_option Int Maturity option value.

setLogoPath

Void ModCreator::setLogoPath(logo_path:String)
Name Type Description
logo_path String Logo local path.

setName

Void ModCreator::setName(name:String)
Name Type Description
name String Name of the mod.

setNameid

Void ModCreator::setNameid(nameid:String)
Name Type Description
nameid String Unique SEO-friendly mod uri.

setSummary

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

setDescription

Void ModCreator::setDescription(description:String)
Name Type Description
description String Description of the mod.

setHomepage

Void ModCreator::setHomepage(homepage:String)
Name Type Description
homepage String Mod homepage URL.

setMetadata

Void ModCreator::setMetadataBlob(metadata_blob:String)
Name Type Description
metadata_blob String Metadata for the mod.

addTag

Void ModCreator::addTag(tag:String)
Name Type Description
tag String Add a tag to the mod.
Clone this wiki locally