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

Method asyncLighting

source/frontend/StarClientCommandProcessor.cpp:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179String ClientCommandProcessor::asyncLighting() {
180 auto worldClient = m_universeClient->worldClient();
181 bool state = !worldClient->asyncLighting();
182 worldClient->setAsyncLighting(state);
183 return strf("Asynchronous render lighting {}", state ? "enabled" : "disabled");
184}
185
186String ClientCommandProcessor::setGravity(String const& argumentsString) {
187 auto arguments = m_parser.tokenizeToStringList(argumentsString);

Callers

nothing calls this directly

Calls 3

strfFunction · 0.85
worldClientMethod · 0.80
setAsyncLightingMethod · 0.80

Tested by

no test coverage detected