Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ optInt
Method
optInt
source/core/StarJson.cpp:288–292 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
286
}
287
288
Maybe<int64_t> Json::optInt() const {
289
if (isNull())
290
return {};
291
return toInt();
292
}
293
294
Maybe<uint64_t> Json::optUInt() const {
295
if (isNull())
Callers
8
AmbientNoisesDescription
Method · 0.80
ParallelNode
Method · 0.80
ActorMovementParameters
Method · 0.80
MovementParameters
Method · 0.80
parseSurfaceBrush
Function · 0.80
parseSurfaceBackgroundBrush
Function · 0.80
instanceWorldPromise
Method · 0.80
displayConfirmation
Method · 0.80
Calls
2
ptr
Function · 0.85
toInt
Method · 0.80
Tested by
no test coverage detected