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

Method PauseMusic

LuaSTGPlus/LuaWrapper.cpp:1589–1597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1587 return 0;
1588 }
1589 static int PauseMusic(lua_State* L)LNOEXCEPT
1590 {
1591 const char* s = luaL_checkstring(L, 1);
1592 ResMusic* p = LRES.FindMusic(s);
1593 if (!p)
1594 return luaL_error(L, "music '%s' not found.", s);
1595 p->Pause();
1596 return 0;
1597 }
1598 static int ResumeMusic(lua_State* L)LNOEXCEPT
1599 {
1600 const char* s = luaL_checkstring(L, 1);

Callers

nothing calls this directly

Calls 2

FindMusicMethod · 0.80
PauseMethod · 0.45

Tested by

no test coverage detected