Semi Mod Loader
Classes | Static Public Attributes | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Semi::SemiLoader Class Reference

Main class of the Semi mod loader. More...

Classes

class  ModInfo
 Representation of a loaded mod. More...
 

Static Public Attributes

const bool DEBUG_MODE = false
 Specifies whether debug mode is enabled. Debug mode enables some features of Semi that are intended to be disabled in release builds, for example the console. More...
 
const string VERSION = "0.1"
 String version of the mod loader. More...
 
const int API_VERSION = 1
 Version of the API (increased when breaking changes are made) More...
 

Static Private Member Functions

static internal IEnumerator OnGameManagerAlive (GameManager mgr)
 
static internal void BeginRegisteringContent ()
 
static internal void CommitContent ()
 
static internal void RunContentMods ()
 
static internal void LoadMods ()
 
static internal void ValidateModID (string mod_file, string id)
 
static internal ResolveEventHandler GenerateModAssemblyResolver (string dir_path)
 
static internal void LoadModDir (string dir_name, string dir_path)
 
static internal IEnumerator LoadIDMaps ()
 
static internal void LoadBuiltinLanguages ()
 
static internal void LoadBuiltinLocalizations ()
 
static internal void InitializePickupObjectTreeBuilder ()
 
static internal void InitializeTreeBuilders ()
 

Private Attributes

public class Semi::SemiLoader::ModInfo DEBUG_MODE = false
 Specifies whether debug mode is enabled. Debug mode enables some features of Semi that are intended to be disabled in release builds, for example the console. More...
 
const public string VERSION = "cont-dev"
 String version of the mod loader. More...
 

Static Private Attributes

static internal bool Loaded = false
 
static internal Dictionary< string, ModInfoMods
 
static internal UnityEngine GameObject ModsStorageObject
 
static internal UnityEngine GameObject SpriteCollectionStorageObject
 
static internal UnityEngine GameObject SpriteTemplateStorageObject
 
static internal UnityEngine GameObject AnimationTemplateStorageObject
 
static internal Logger Logger = new Logger("Semi")
 
static internal DebugConsole Console Console
 
static internal DebugConsole ConsoleController ConsoleController
 
static internal SGUI SGUIRoot GUIRoot
 
static internal SpriteCollection EncounterIconCollection
 

Detailed Description

Main class of the Semi mod loader.

Member Function Documentation

◆ BeginRegisteringContent()

static internal void Semi::SemiLoader::BeginRegisteringContent ( )
inlinestaticprivate

◆ CommitContent()

static internal void Semi::SemiLoader::CommitContent ( )
inlinestaticprivate

◆ GenerateModAssemblyResolver()

static internal ResolveEventHandler Semi::SemiLoader::GenerateModAssemblyResolver ( string  dir_path)
inlinestaticprivate

◆ InitializePickupObjectTreeBuilder()

static internal void Semi::SemiLoader::InitializePickupObjectTreeBuilder ( )
inlinestaticprivate

◆ InitializeTreeBuilders()

static internal void Semi::SemiLoader::InitializeTreeBuilders ( )
inlinestaticprivate

◆ LoadBuiltinLanguages()

static internal void Semi::SemiLoader::LoadBuiltinLanguages ( )
inlinestaticprivate

◆ LoadBuiltinLocalizations()

static internal void Semi::SemiLoader::LoadBuiltinLocalizations ( )
inlinestaticprivate

◆ LoadIDMaps()

static internal IEnumerator Semi::SemiLoader::LoadIDMaps ( )
inlinestaticprivate

◆ LoadModDir()

static internal void Semi::SemiLoader::LoadModDir ( string  dir_name,
string  dir_path 
)
inlinestaticprivate

◆ LoadMods()

static internal void Semi::SemiLoader::LoadMods ( )
inlinestaticprivate

◆ OnGameManagerAlive()

static internal IEnumerator Semi::SemiLoader::OnGameManagerAlive ( GameManager  mgr)
inlinestaticprivate

◆ RunContentMods()

static internal void Semi::SemiLoader::RunContentMods ( )
inlinestaticprivate

◆ ValidateModID()

static internal void Semi::SemiLoader::ValidateModID ( string  mod_file,
string  id 
)
inlinestaticprivate

Member Data Documentation

◆ AnimationTemplateStorageObject

internal UnityEngine GameObject Semi::SemiLoader::AnimationTemplateStorageObject
staticprivate

◆ API_VERSION

const int Semi.SemiLoader.API_VERSION = 1
static

Version of the API (increased when breaking changes are made)

◆ Console

internal DebugConsole Console Semi::SemiLoader::Console
staticprivate

◆ ConsoleController

internal DebugConsole ConsoleController Semi::SemiLoader::ConsoleController
staticprivate

◆ DEBUG_MODE [1/2]

public class Semi::SemiLoader::ModInfo Semi::SemiLoader::DEBUG_MODE = false
private

Specifies whether debug mode is enabled. Debug mode enables some features of Semi that are intended to be disabled in release builds, for example the console.

◆ DEBUG_MODE [2/2]

const bool Semi.SemiLoader.DEBUG_MODE = false
static

Specifies whether debug mode is enabled. Debug mode enables some features of Semi that are intended to be disabled in release builds, for example the console.

◆ EncounterIconCollection

internal SpriteCollection Semi::SemiLoader::EncounterIconCollection
staticprivate

◆ GUIRoot

internal SGUI SGUIRoot Semi::SemiLoader::GUIRoot
staticprivate

◆ Loaded

internal bool Semi::SemiLoader::Loaded = false
staticprivate

◆ Logger

internal Logger Semi::SemiLoader::Logger = new Logger("Semi")
staticprivate

◆ Mods

internal Dictionary<string, ModInfo> Semi::SemiLoader::Mods
staticprivate

◆ ModsStorageObject

internal UnityEngine GameObject Semi::SemiLoader::ModsStorageObject
staticprivate

◆ SpriteCollectionStorageObject

internal UnityEngine GameObject Semi::SemiLoader::SpriteCollectionStorageObject
staticprivate

◆ SpriteTemplateStorageObject

internal UnityEngine GameObject Semi::SemiLoader::SpriteTemplateStorageObject
staticprivate

◆ VERSION [1/2]

const public string Semi::SemiLoader::VERSION = "cont-dev"
private

String version of the mod loader.

◆ VERSION [2/2]

const string Semi.SemiLoader.VERSION = "0.1"
static

String version of the mod loader.


The documentation for this class was generated from the following files: