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

Method currentTemplate

source/game/StarWorldClient.cpp:197–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197WorldTemplateConstPtr WorldClient::currentTemplate() const {
198 return m_worldTemplate;
199}
200
201void WorldClient::setTemplate(Json newTemplate) {
202 m_outgoingPackets.push_back(make_shared<UpdateWorldTemplatePacket>(newTemplate));

Callers 6

placementHueShiftMethod · 0.45
makeWorldCallbacksFunction · 0.45
updateRunningMethod · 0.45
handleInteractActionMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected