MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / validNextMacro

Function validNextMacro

plugins/base/macro-action-random.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 "AdvSceneSwitcher.action.random"});
17
18static bool validNextMacro(const std::shared_ptr<Macro> &macro)
19{
20 return !MacroIsPaused(macro.get());
21}
22
23static std::vector<std::shared_ptr<Macro>>
24getNextMacros(std::vector<MacroRef> &macros, MacroRef &lastRandomMacroRef,

Callers 1

getNextMacrosFunction · 0.85

Calls 2

MacroIsPausedFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected