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

Function getSeed

source/game/StarTilesetDatabase.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 Json getSeed(Tiled::Properties& properties) {
105 String seed = properties.get<String>("seed");
106 if (seed == "stable")
107 return seed;
108 return lexicalCast<uint64_t>(seed);
109 }
110
111 BrushConstPtr getNpcBrush(String const& species, Tiled::Properties& properties) {
112 JsonObject brush;

Callers 2

getNpcBrushFunction · 0.85
getMonsterBrushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected