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

ModioModfileCreator

Ahmed Castro edited this page Jan 8, 2018 · 2 revisions

Object needed to create and update Modfiles (C compatible). Instead of editing the struct directly, we recommend you to customize it using the ModioModfileCreator functions.

struct ModioModfileCreator
{
  char* path;
  char* version;
  char* changelog;
  char* active;
};

Struct attributes

Name Type Description
path char* Local modfile path
version char* The release version this file represents
changelog char* List of all changes in this file release
active char* Indicates if the file is accessible to public

Functions

modioInitModfileCreator

void modioInitModfileCreator(ModioModfileCreator* modfile_creator)
Name Type Description
modfile_creator ModioModfileCreator* ModioModfileCreator object to customize

modioSetModfileCreatorPath

void modioSetModfileCreatorPath(ModioModfileCreator* modfile_creator, char* path)
Name Type Description
modfile_creator ModioModfileCreator* ModioModfileCreator object to customize
path char* Local modfile path

modioSetModfileCreatorVersion

void modioSetModfileCreatorVersion(ModioModfileCreator* modfile_creator, char* version)
Name Type Description
modfile_creator ModioModfileCreator* ModioModfileCreator object to customize
version char* The release version this file represents

modioSetModfileCreatorChangelog

void modioSetModfileCreatorChangelog(ModioModfileCreator* modfile_creator, char* changelog)
Name Type Description
modfile_creator ModioModfileCreator* ModioModfileCreator object to customize
changelog char* List of all changes in this file release

modioSetModfileCreatorActive

void modioSetModfileCreatorActive(ModioModfileCreator* modfile_creator, bool active)
Name Type Description
modfile_creator ModioModfileCreator* ModioModfileCreator object to customize
active bool Indicates if the file is accessible to public

modioSetModfileCreatorFilehash

void modioSetModfileCreatorFilehash(ModioModfileCreator* modfile_creator, char* filehash)
Name Type Description
modfile_creator ModioModfileCreator* ModioModfileCreator object to customize
filehash char* MD5 hash

modioFreeModfileCreator

void modioFreeModfileCreator(ModioModfileCreator* modfile_creator)
Name Type Description
modfile_creator ModioModfileCreator* ModioModfileCreator object to customize

Contents

Clone this wiki locally