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

Method setTemplate

source/game/StarWorldClient.cpp:201–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void WorldClient::setTemplate(Json newTemplate) {
202 m_outgoingPackets.push_back(make_shared<UpdateWorldTemplatePacket>(newTemplate));
203}
204
205SkyConstPtr WorldClient::currentSky() const {
206 return m_sky;

Callers 1

makeWorldCallbacksFunction · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected