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

ModioModfileEditor

Ahmed Castro edited this page Jan 8, 2018 · 1 revision

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

struct ModioModfileEditor
{
  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

modioInitModfileEditor

void modioInitModfileEditor(ModioModfileEditor* modfile_editor)
Name Type Description
modfile_editor ModioModfileEditor* ModioModfileEditor object to customize

modioSetModfileEditorVersion

void modioSetModfileEditorVersion(ModioModfileEditor* modfile_editor, char* version)
Name Type Description
modfile_editor ModioModfileEditor* ModioModfileEditor object to customize
version char* The release version this file represents

modioSetModfileEditorChangelog

void modioSetModfileEditorChangelog(ModioModfileEditor* modfile_editor, char* changelog)
Name Type Description
modfile_editor ModioModfileEditor* ModioModfileEditor object to customize
changelog char* List of all changes in this file release

modioSetModfileEditorActive

void modioSetModfileEditorActive(ModioModfileEditor* modfile_editor, bool active)
Name Type Description
modfile_editor ModioModfileEditor* ModioModfileEditor object to customize
active bool Indicates if the file is accessible to public

modioFreeModfileEditor

void modioFreeModfileEditor(ModioModfileEditor* modfile_editor)
Name Type Description
modfile_editor ModioModfileEditor* ModioModfileEditor object to customize

Contents

Clone this wiki locally