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

Method GetFloat

Source/ModuleSaveData.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160float ModuleSaveData::GetFloat(std::string prop)
161{
162 const SaveVal* save = GetVal(prop);
163 assert(save);
164 assert(save->mType == kFloat);
165 return save->mFloat;
166}
167
168bool ModuleSaveData::GetBool(std::string prop)
169{

Callers 15

SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80

Calls

no outgoing calls

Tested by 1

SetUpFromSaveDataMethod · 0.64