MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / randb

Function randb

source/core/StarRandom.cpp:285–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 }
284
285 bool randb() {
286 MutexLocker locker(g_randMutex);
287 checkInit();
288 return g_randSource->randb();
289 }
290
291 long long randInt(long long max) {
292 MutexLocker locker(g_randMutex);

Callers 2

updateMethod · 0.85
spawnMonsterMethod · 0.85

Calls 2

checkInitFunction · 0.85
randbMethod · 0.80

Tested by

no test coverage detected