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

Method GetInt

Source/ModuleSaveData.cpp:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152int ModuleSaveData::GetInt(std::string prop)
153{
154 const SaveVal* save = GetVal(prop);
155 assert(save);
156 assert(save->mType == kInt);
157 return save->mInt;
158}
159
160float ModuleSaveData::GetFloat(std::string prop)
161{

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 3

SetUpFromSaveDataMethod · 0.64
SetUpFromSaveDataMethod · 0.64
SetUpFromSaveDataMethod · 0.64