MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / loadObject

Method loadObject

Plugins/slua_unreal/Source/slua_unreal/Private/SluaLib.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 int SluaUtil::loadObject(lua_State* L) {
125 const char* objname = luaL_checkstring(L, 1);
126 UObject* outter = LuaObject::checkValueOpt<UObject*>(L, 2, nullptr);
127 return LuaObject::push(L, LoadObject<UObject>(outter, UTF8_TO_TCHAR(objname)));
128 }
129
130 int SluaUtil::loadUI(lua_State* L) {
131 const char* cls = luaL_checkstring(L,1);

Callers

nothing calls this directly

Calls 1

pushFunction · 0.50

Tested by

no test coverage detected