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

Function getArray

components/lua/yamlloader.cpp:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 sol::table getArray(const YAML::Node& node, const sol::state_view& lua, uint64_t depth)
127 {
128 sol::table childTable(lua, sol::create);
129
130 for (const auto& child : node)
131 {
132 childTable.add(getNode(child, lua, depth));
133 }
134
135 return childTable;
136 }
137
138 ScalarType getScalarType(const YAML::Node& node)
139 {

Callers 1

getNodeFunction · 0.85

Calls 2

getNodeFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected