MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / rand

Method rand

source/src/interpreter.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 macro.script_interpreter.setValue(QiScriptInterpreter::var_rand_last, min);
32 Qi::widget.varViewReload();
33 return min;
34}
35double QiInterpreter::rand(double max, double min)
36{
37 min = Rand(max, min);
38 macro.script_interpreter.setValue(QiScriptInterpreter::var_rand_last, min);
39 Qi::widget.varViewReload();
40 return min;
41}
42

Callers

nothing calls this directly

Calls 3

RandFunction · 0.85
varViewReloadMethod · 0.80
setValueMethod · 0.45

Tested by

no test coverage detected