MCPcopy Create free account
hub / github.com/Norbyte/bg3se / GetChildren

Method GetChildren

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:803–810  ·  view source on GitHub ↗

Lua helper for making a copy of children without returning a reference to the internal child list. Needed until Lua read-only container proxies are added

Source from the content-addressed store, hash-verified

801// Lua helper for making a copy of children without returning a reference to the internal child list.
802// Needed until Lua read-only container proxies are added
803Array<lua::ImguiHandle> TreeParent::GetChildren() const
804{
805 Array<lua::ImguiHandle> handles;
806 for (auto h : Children) {
807 handles.push_back(lua::ImguiHandle(h));
808 }
809 return handles;
810}
811
812void WindowBase::SetPos(glm::vec2 pos, std::optional<GuiCond> cond, std::optional<glm::vec2> pivot)
813{

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected