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

Method Reset

plugins/base/macro-condition-timer.cpp:121–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void MacroConditionTimer::Reset()
122{
123 _remaining = _duration.Seconds();
124 _duration.Reset();
125 if (_type == TimerType::RANDOM) {
126 SetRandomTimeRemaining();
127 }
128}
129
130void MacroConditionTimer::SetVariables(double seconds)
131{

Callers 3

CheckConditionMethod · 0.45
ResetClickedMethod · 0.45
PerformActionMethod · 0.45

Calls 1

SecondsMethod · 0.80

Tested by

no test coverage detected