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

Function randu64

source/core/StarRandom.cpp:243–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241 }
242
243 uint64_t randu64() {
244 MutexLocker locker(g_randMutex);
245 checkInit();
246 return g_randSource->randu64();
247 }
248
249 int32_t randi32() {
250 MutexLocker locker(g_randMutex);

Callers 15

WorldTemplateMethod · 0.85
spawnNpcMethod · 0.85
fromJsonMethod · 0.85
diskLoadMethod · 0.85
generateNpcVariantMethod · 0.85
createTreasureMethod · 0.85
fillWithTreasureMethod · 0.85
createTreasureChestMethod · 0.85
playMethod · 0.85
NpcBrushMethod · 0.85
randomMonsterMethod · 0.85

Calls 2

checkInitFunction · 0.85
randu64Method · 0.80

Tested by 1

inspectionFailureTextMethod · 0.68