Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ SpawnParameters
Method
SpawnParameters
source/game/StarSpawnTypeDatabase.cpp:8–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
namespace Star {
7
8
SpawnParameters::SpawnParameters(Set<Area> areas, Region region, Time time) : areas(areas), region(region), time(time) {}
9
10
SpawnParameters::SpawnParameters(Json const& config) {
11
if (config.isNull()) {
Callers
nothing calls this directly
Calls
6
optString
Method · 0.80
optArray
Method · 0.80
getString
Method · 0.80
isNull
Method · 0.45
add
Method · 0.45
toString
Method · 0.45
Tested by
no test coverage detected