MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / ScriptModule

Method ScriptModule

Source/ScriptModule.cpp:89–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87ofxJSONElement ScriptModule::sStyleJSON;
88
89ScriptModule::ScriptModule()
90{
91 CheckIfPythonEverSuccessfullyInitialized();
92 if ((TheSynth->IsLoadingState() || Prefab::sLoadingPrefab) && sHasPythonEverSuccessfullyInitialized)
93 InitializePythonIfNecessary();
94
95 Reset();
96
97 mScriptModuleIndex = sScriptModules.size();
98 sScriptModules.push_back(this);
99
100 OSCReceiver::addListener(this);
101}
102
103ScriptModule::~ScriptModule()
104{

Callers

nothing calls this directly

Calls 2

IsLoadingStateMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected