Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
WorldTemplate
Method · 0.85
spawnNpc
Method · 0.85
fromJson
Method · 0.85
diskLoad
Method · 0.85
generateNpcVariant
Method · 0.85
createTreasure
Method · 0.85
fillWithTreasure
Method · 0.85
createTreasureChest
Method · 0.85
play
Method · 0.85
TerrainSelectorParameters
Method · 0.85
NpcBrush
Method · 0.85
randomMonster
Method · 0.85
Calls
2
checkInit
Function · 0.85
randu64
Method · 0.80
Tested by
1
inspectionFailureText
Method · 0.68