Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
JSInterface_Mod.cpp File Reference
#include "precompiled.h"
#include "JSInterface_Mod.h"
#include "ps/Mod.h"
#include "ps/Pyrogenesis.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/JSON.h"
#include "scriptinterface/Object.h"
#include "scriptinterface/ScriptConversions.h"
Include dependency graph for JSInterface_Mod.cpp:

Namespaces

namespace  JSI_Mod
 

Typedefs

using ModDataCPtr = const Mod::ModData *
 

Functions

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

Typedef Documentation

◆ ModDataCPtr

using ModDataCPtr = const Mod::ModData*

Function Documentation

◆ JSVAL_VECTOR() [1/2]

JSVAL_VECTOR ( const Mod::ModData )

◆ JSVAL_VECTOR() [2/2]

JSVAL_VECTOR ( Mod::ModData  )

◆ RestartEngine()

void RestartEngine ( )