MCPcopy Create free account
hub / github.com/KikoPlayProject/KikoPlay / getScript

Method getScript

Extension/Script/scriptbase.cpp:252–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252ScriptBase *ScriptBase::getScript(lua_State *L)
253{
254 lua_pushstring(L, "kiko_scriptobj");
255 lua_gettable(L, LUA_REGISTRYINDEX);
256 ScriptBase *script = (ScriptBase *)lua_topointer(L, -1);
257 lua_pop(L, 1);
258 return script;
259}
260
261void ScriptBase::exitHook(lua_State *L, lua_Debug *ar)
262{

Callers 15

fetchInfoMethod · 0.45
fetchMetaInfoMethod · 0.45
fetchBgmListMethod · 0.45
runTaskMethod · 0.45
LabelModelMethod · 0.45
removeTagMethod · 0.45
addAnimeInfoTagMethod · 0.45
updateCheckedInfoMethod · 0.45
updateCheckedTagMethod · 0.45
dataMethod · 0.45
AnimeProviderMethod · 0.45
setDefaultMatchScriptMethod · 0.45

Calls 3

lua_pushstringFunction · 0.85
lua_gettableFunction · 0.85
lua_topointerFunction · 0.85

Tested by

no test coverage detected