MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / ExtractRes

Method ExtractRes

LuaSTGPlus/LuaWrapper.cpp:538–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536 return 0;
537 }
538 static int ExtractRes(lua_State* L)LNOEXCEPT
539 {
540 const char* pArgPath = luaL_checkstring(L, 1);
541 const char* pArgTarget = luaL_checkstring(L, 2);
542 if (!LRES.ExtractRes(pArgPath, pArgTarget))
543 return luaL_error(L, "failed to extract resource '%s' to '%s'.", pArgPath, pArgTarget);
544 return 0;
545 }
546 static int DoFile(lua_State* L)LNOEXCEPT
547 {
548 int args = lua_gettop(L);//获取此时栈上的值的数量

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected