Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
JSI_Mod Namespace Reference

Functions

ModModGetter (const ScriptRequest &, JS::CallArgs &)
 
JS::Value GetEngineInfo (const ScriptInterface &scriptInterface)
 
JS::Value GetAvailableMods (const ScriptRequest &rq)
 
bool AreModsPlayCompatible (const std::vector< Mod::ModData > &a, const std::vector< Mod::ModData > &b)
 
bool SetModsAndRestartEngine (const std::vector< CStr > &mods)
 
bool HasIncompatibleMods ()
 
void RegisterScriptFunctions (const ScriptRequest &rq)
 

Function Documentation

◆ AreModsPlayCompatible()

bool JSI_Mod::AreModsPlayCompatible ( const std::vector< Mod::ModData > &  a,
const std::vector< Mod::ModData > &  b 
)

◆ GetAvailableMods()

JS::Value JSI_Mod::GetAvailableMods ( const ScriptRequest rq)

◆ GetEngineInfo()

JS::Value JSI_Mod::GetEngineInfo ( const ScriptInterface scriptInterface)

◆ HasIncompatibleMods()

bool JSI_Mod::HasIncompatibleMods ( )

◆ ModGetter()

Mod * JSI_Mod::ModGetter ( const ScriptRequest ,
JS::CallArgs &   
)

◆ RegisterScriptFunctions()

void JSI_Mod::RegisterScriptFunctions ( const ScriptRequest rq)

◆ SetModsAndRestartEngine()

bool JSI_Mod::SetModsAndRestartEngine ( const std::vector< CStr > &  mods)