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

Method ResumeSound

LuaSTGPlus/LuaWrapper.cpp:1548–1556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1546 return 0;
1547 }
1548 static int ResumeSound(lua_State* L)LNOEXCEPT
1549 {
1550 const char* s = luaL_checkstring(L, 1);
1551 ResSound* p = LRES.FindSound(s);
1552 if (!p)
1553 return luaL_error(L, "sound '%s' not found.", s);
1554 p->Resume();
1555 return 0;
1556 }
1557 static int GetSoundState(lua_State* L)LNOEXCEPT
1558 {
1559 const char* s = luaL_checkstring(L, 1);

Callers

nothing calls this directly

Calls 2

FindSoundMethod · 0.80
ResumeMethod · 0.45

Tested by

no test coverage detected