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

Method exec

source/src/scriptinterpreter.cpp:857–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855 inter->setLocalValue(std::string("rand_last"), r);
856 return r;
857 }
858 static long long random(long long max, long long min = 0)
859 {
860 if (min > max) std::swap(min, max);
861 return min + (rand() % (max - min + 1));
862 }
863};

Callers

nothing calls this directly

Calls 1

localValueMethod · 0.80

Tested by

no test coverage detected