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

Method fullbright

source/frontend/StarClientCommandProcessor.cpp:172–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172String ClientCommandProcessor::fullbright() {
173 auto worldClient = m_universeClient->worldClient();
174 bool state = !worldClient->fullBright();
175 worldClient->setFullBright(state);
176 return strf("Fullbright render lighting {}", state ? "enabled" : "disabled");
177}
178
179String ClientCommandProcessor::asyncLighting() {
180 auto worldClient = m_universeClient->worldClient();

Callers

nothing calls this directly

Calls 4

strfFunction · 0.85
worldClientMethod · 0.80
fullBrightMethod · 0.80
setFullBrightMethod · 0.80

Tested by

no test coverage detected