This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
ModioModCreator
Ahmed Castro edited this page May 28, 2018
·
5 revisions
Object needed to create Mods (C compatible). Instead of editing the struct directly, we recommend you customize it using the ModioModCreator functions.
struct ModioModCreator
{
char* visible;
char* maturity_option;
char* logo;
char* name;
char* name_id;
char* summary;
char* description;
char* homepage_url;
char* metadata_blob;
ModioListNode* tags;
};
void modioInitModCreator(ModioModCreator* mod_creator)
Initializes the mod creator object. Call this before any other ModioModCreator function.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
void modioSetModCreatorVisible(ModioModCreator* mod_creator, bool visible)
Sets the mod creator's visibility.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
visible | u32 |
Mod's visibility |
void modioSetModCreatorMaturityOption(ModioModCreator* mod_creator, u32 maturity_option)
Sets the mod creators' maturity_option.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
maturity_option | u32 |
Mod's Maturity option. |
void modioSetModCreatorLogoPath(ModioModCreator* mod_creator, char* logo_path)
Sets the logo local path for the mod creator.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
logo_path | char* |
Logo local path |
void modioSetModCreatorName(ModioModCreator* mod_creator, char* name)
Sets the mod creator's name.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
name | char* |
Name of the mod |
void modioSetModCreatorNameid(ModioModCreator* mod_creator, char* name_id)
Sets the mod creator's name id.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
name_id | char* |
Unique SEO-friendly mod uri |
void modioSetModCreatorSummary(ModioModCreator* mod_creator, char* summary)
Sets the mod creator's summary.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
summary | char* |
Brief summary of the mod |
void modioSetModCreatorDescription(ModioModCreator* mod_creator, char* description)
Sets the mod creator's description.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
description | char* |
Description of the mod |
void modioSetModCreatorHomepage(ModioModCreator* mod_creator, char* homepage)
Sets the mod creator's homepage url.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
homepage | char* |
Mod homepage URL |
void modioSetModCreatorMetadataBlob(ModioModCreator* mod_creator, char* metadata_blob)
Sets the mod creator's metadata blob.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
metadata_blob | char* |
Metadata for the mod |
void modioAddModCreatorTag(ModioModCreator* mod_creator, char* tag)
Adds a tag to the mod creator.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
tag | char* |
Add a tag to the mod |
void modioFreeModCreator(ModioModCreator* mod_creator)
Frees the mod creator object memory. Use this after calling the edit mod function. Note: You don't have to wait for the callback to use this function.
Name | Type | Description |
---|---|---|
mod_creator | ModioModCreator* |
ModioModCreator object to customize |
- Home
- Table of Contents
- Getting Started
- SDK Methods
- Creators
- Editors
- Schemas
- modio::Avatar
- modio::Comment
- modio::Dependency
- modio::Download
- modio::Error
- modio::Filehash
- modio::Game
- modio::GameTagOption
- modio::Header
- modio::Icon
- modio::Image
- modio::InstalledMod
- modio::Logo
- modio::Media
- modio::MetadataKVP
- modio::Mod
- modio::ModEvent
- modio::Modfile
- modio::QueuedModDownload
- modio::QueuedModfileUpload
- modio::Rating
- modio::Response
- modio::Stats
- modio::Tag
- modio::User
- Debugging
- Constants
-
C Compatibility
- Methods
- Initialization, Process and Shutdown (C compatible)
- User Authentication (C compatible)
- Mods (C compatible)
- Modfiles (C compatible)
- Media (C compatible)
- Subscriptions (C compatible)
- Events (C compatible)
- Stats (C compatible)
- Tags (C compatible)
- Ratings (C compatible)
- Metadata KVP (C compatible)
- Dependencies (C compatible)
- Comments (C compatible)
- Reports (C compatible)
- Me (C compatible)
- Downloads (C compatible)
- Uploads (C compatible)
- Logs (C compatible)
- External Auth (C compatible)
- Configuration (C compatible)
- Creators
- Editors
- Schemas
- ModioAvatar
- ModioComment
- ModioDependency
- ModioDownload
- ModioError
- ModioFilehash
- ModioGame
- ModioGameTagOption
- ModioHeader
- ModioIcon
- ModioImage
- ModioInstalledMod
- ModioListNode
- ModioLogo
- ModioMedia
- ModioMetadataKVP
- ModioMod
- ModioModEvent
- ModioModfile
- ModioQueuedModDownload
- ModioQueuedModfileUpload
- ModioRating
- ModioResponse
- ModioStats
- ModioTag
- ModioUser
- Methods
- Building