MCPcopy Create free account
hub / github.com/defold/defold / NodeProxy_index

Function NodeProxy_index

engine/gui/src/gui_script.cpp:415–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 }
414
415 static int NodeProxy_index(lua_State *L)
416 {
417 InternalNode* n = LuaCheckNodeInternal(L, 1, 0);
418 (void)n;
419
420 const char* key = luaL_checkstring(L, 2);
421 return luaL_error(L, "Illegal operation, try %s.get_%s(<node>)", LIB_NAME, key);
422 }
423
424 static int NodeProxy_newindex(lua_State *L)
425 {

Callers

nothing calls this directly

Calls 2

LuaCheckNodeInternalFunction · 0.85
luaL_errorFunction · 0.85

Tested by

no test coverage detected