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

Method SetUpFromSaveData

Source/EffectChain.cpp:586–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586void EffectChain::SetUpFromSaveData()
587{
588 SetTarget(TheSynth->FindModule(mModuleSaveData.GetString("target")));
589 SetWideCount(mModuleSaveData.GetInt("widecount"));
590 mShowSpawnList = mModuleSaveData.GetBool("showspawnlist");
591
592 for (int i = 0; i < mEffects.size(); ++i)
593 mEffects[i]->SetUpFromSaveDataBase();
594}
595
596void EffectChain::SaveLayout(ofxJSONElement& moduleInfo)
597{

Callers

nothing calls this directly

Calls 6

GetStringMethod · 0.80
GetIntMethod · 0.80
GetBoolMethod · 0.80
sizeMethod · 0.80
SetUpFromSaveDataBaseMethod · 0.80
FindModuleMethod · 0.45

Tested by

no test coverage detected