MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / GetFloat

Method GetFloat

KBotExt/imgui/imgui.cpp:2403–2409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2401}
2402
2403float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const
2404{
2405 ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key);
2406 if (it == Data.end() || it->key != key)
2407 return default_val;
2408 return it->val_f;
2409}
2410
2411void* ImGuiStorage::GetVoidPtr(ImGuiID key) const
2412{

Callers

nothing calls this directly

Calls 2

LowerBoundFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected