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

Root Directory

Ahmed Castro edited this page Oct 17, 2017 · 3 revisions

All the files needed by the SDK are written in the .modio/ directory located in your project path. You can choose a different directory by using the init overloaded function called on startup that accepts the root_directory parameter. Use this functionality in case your project path has not write permission.

init TODO

modio::init(int game_id, string api_key, string root_directory)
Name Type Description
game_id int Your game unique identifier, grab this from the mod.io website
api_key string Your game unique API key, grab this from the mod.io website
root_path string Path where the internal mod.io directory .modio/ will be created

Initializes mod.io SDK in your game.

Example:

modio::init(7, "e91c01b8882f4affeddd56c96111977b", "~/some/other/dir");

Contents

Clone this wiki locally