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

Method LoadState

Source/Prefab.cpp:362–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void Prefab::LoadState(FileStreamIn& in, int rev)
363{
364 IDrawableModule::LoadState(in, rev);
365
366 if (!ModuleContainer::DoesModuleHaveMoreSaveData(in))
367 return; //this was saved before we added versioning, bail out
368
369 if (ModularSynth::sLoadingFileSaveStateRev < 423)
370 in >> rev;
371 LoadStateValidate(rev <= GetModuleSaveStateRev());
372
373 in >> mPrefabName;
374}

Callers 1

LoadPrefabMethod · 0.45

Calls 1

LoadStateValidateFunction · 0.85

Tested by

no test coverage detected