Changeset View
Changeset View
Standalone View
Standalone View
source/ps/scripting/JSInterface_Mod.h
Show All 20 Lines | |||||
class ScriptInterface; | class ScriptInterface; | ||||
namespace JSI_Mod | namespace JSI_Mod | ||||
{ | { | ||||
void RegisterScriptFunctions(const ScriptInterface& scriptInterface); | void RegisterScriptFunctions(const ScriptInterface& scriptInterface); | ||||
JS::Value GetAvailableMods(ScriptInterface::CxPrivate* pCxPrivate); | JS::Value GetAvailableMods(ScriptInterface::CxPrivate* pCxPrivate); | ||||
void RestartEngine(ScriptInterface::CxPrivate* pCxPrivate); | void RestartEngine(ScriptInterface::CxPrivate* pCxPrivate); | ||||
void SetMods(ScriptInterface::CxPrivate* pCxPrivate, const std::vector<CStr>& mods); | void SetMods(ScriptInterface::CxPrivate* pCxPrivate, const std::vector<CStr>& mods); | ||||
JS::Value ModIoGetMods(ScriptInterface::CxPrivate* pCxPrivate); | |||||
void ModIoDownloadMod(ScriptInterface::CxPrivate* pCxPrivate, uint32_t idx); | |||||
} | } | ||||
#endif | #endif |
Wildfire Games · Phabricator