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

Function getTriggerSignal

plugins/scripting/macro-script-handler.cpp:193–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193static std::string getTriggerSignal(const std::string &name,
194 const bool isAction)
195{
196 std::string signal = name;
197 replaceProblematicChars(signal);
198 signal += "_run";
199 signal += isAction ? "_action" : "_condition";
200 return signal;
201}
202
203static std::string getCompletionSignal(const std::string &name,
204 const bool isAction)

Callers 3

getCompletionSignalFunction · 0.85
RegisterScriptActionMethod · 0.85

Calls 1

replaceProblematicCharsFunction · 0.85

Tested by

no test coverage detected