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 Jan 8, 2018
·
5 revisions
Object needed to create and update Mods (C compatible). Instead of editing the struct directly, we recommend you customize it using the ModioModHandler functions.
struct ModioModHandler
{
char* logo;
char* name;
char* homepage;
char* summary;
char* description;
char* metadata_blob;
char* name_id;
char* modfile;
ModioListNode* tags;
};
Name | Type | Description |
---|---|---|
logo_path | char* |
Logo local path |
name | char* |
Name of the mod |
homepage | char* |
Mod homepage URL |
summary | char* |
Brief summary of the mod |
description | char* |
Description of the mod |
metadata_blob | char* |
Metadata for the mod |
name_id | char* |
Unique SEO-friendly mod uri |
modfile | char* |
Modfile unique identifier |
tag | ModioListNode* |
Add a tag to the mod |
void modioInitModHandler(ModioModHandler* mod_handler)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
void modioSetLogoPath(ModioModHandler* mod_handler, char* logo_path)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
logo_path | char* |
Logo local path |
void modioSetName(ModioModHandler* mod_handler, char* name)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
name | char* |
Name of the mod |
void modioSetHomepage(ModioModHandler* mod_handler, char* homepage)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
homepage | char* |
Mod homepage URL |
void modioSetSummary(ModioModHandler* mod_handler, char* summary)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
summary | char* |
Brief summary of the mod |
void modioSetDescription(ModioModHandler* mod_handler, char* description)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
description | char* |
Description of the mod |
void modioSetMetadata(ModioModHandler* mod_handler, char* metadata_blob)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
metadata_blob | char* |
Metadata for the mod |
void modioSetNameid(ModioModHandler* mod_handler, char* name_id)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
name_id | char* |
Unique SEO-friendly mod uri |
void modioSetModfile(ModioModHandler* mod_handler, u32 modfile)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
modfile | u32 |
Modfile unique identifier |
void modioAddTag(ModioModHandler* mod_handler, char* tag)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler object to customize |
tag | char* |
Add a tag to the mod |
void modioFreeModHandler(ModioModHandler* mod_handler)
Name | Type | Description |
---|---|---|
modfile_handler | ModioModHandler* |
ModioModHandler 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