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

Method GetMapSize

KBotExt/imgui/imgui_internal.h:673–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671 int GetAliveCount() const { return AliveCount; } // Number of active/alive items in the pool (for display purpose)
672 int GetBufSize() const { return Buf.Size; }
673 int GetMapSize() const { return Map.Data.Size; } // It is the map we need iterate to find valid items, since we don't have "alive" storage anywhere
674 T* TryGetMapData(ImPoolIdx n) { int idx = Map.Data[n].val_i; if (idx == -1) return NULL; return GetByIndex(idx); }
675#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
676 int GetSize() { return GetMapSize(); } // For ImPlot: should use GetMapSize() from (IMGUI_VERSION_NUM >= 18304)

Callers 3

ShowMetricsWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected