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

Method ResumeMusic

LuaSTGPlus/LuaWrapper.cpp:1598–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1596 return 0;
1597 }
1598 static int ResumeMusic(lua_State* L)LNOEXCEPT
1599 {
1600 const char* s = luaL_checkstring(L, 1);
1601 ResMusic* p = LRES.FindMusic(s);
1602 if (!p)
1603 return luaL_error(L, "music '%s' not found.", s);
1604 p->Resume();
1605 return 0;
1606 }
1607 static int GetMusicState(lua_State* L)LNOEXCEPT
1608 {
1609 const char* s = luaL_checkstring(L, 1);

Callers

nothing calls this directly

Calls 2

FindMusicMethod · 0.80
ResumeMethod · 0.45

Tested by

no test coverage detected