MCPcopy Create free account
hub / github.com/OpenMW/openmw / attachPageAt

Function attachPageAt

components/lua_ui/scriptsettings.cpp:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void attachPageAt(size_t index, LuaAdapter* adapter)
54 {
55 adapter->detach();
56 if (index < allPages.size())
57 {
58 ScriptSettingsPage page = parse(allPages[index]);
59 if (page.mElement.get())
60 adapter->attach(page.mElement);
61 }
62 }
63}

Callers 2

renderScriptSettingsMethod · 0.85
onScriptListSelectionMethod · 0.85

Calls 5

detachMethod · 0.80
parseFunction · 0.70
sizeMethod · 0.45
getMethod · 0.45
attachMethod · 0.45

Tested by

no test coverage detected