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

Method create

source/game/StarPlayerFactory.cpp:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55PlayerPtr PlayerFactory::create() const {
56 return make_shared<Player>(m_config);
57}
58
59PlayerPtr PlayerFactory::diskLoadPlayer(Json const& diskStore) const {
60 return make_shared<Player>(m_config, diskStore);

Callers 3

placeVehicleMethod · 0.45
spawnVehicleMethod · 0.45
spawnVehicleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected