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

Method EnumRes

LuaSTGPlus/LuaWrapper.cpp:1092–1098  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1090 return 1;
1091 }
1092 static int EnumRes(lua_State* L)LNOEXCEPT
1093 {
1094 ResourceType tResourceType = static_cast<ResourceType>(luaL_checkint(L, 1));
1095 LRES.GetResourcePool(ResourcePoolType::Global)->ExportResourceList(L, tResourceType);
1096 LRES.GetResourcePool(ResourcePoolType::Stage)->ExportResourceList(L, tResourceType);
1097 return 2;
1098 }
1099 static int SetImageScale(lua_State* L)LNOEXCEPT
1100 {
1101 float x = static_cast<float>(luaL_checknumber(L, 1));

Callers

nothing calls this directly

Calls 2

ExportResourceListMethod · 0.80
GetResourcePoolMethod · 0.80

Tested by

no test coverage detected