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

Method lightSources

source/game/StarStatusController.cpp:562–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562List<LightSource> StatusController::lightSources() const {
563 List<LightSource> lightSources;
564 for (auto const& animator : m_effectAnimators.netElements())
565 lightSources.appendAll(animator->animator.lightSources(m_movementController->position()));
566 return lightSources;
567}
568
569List<OverheadBar> StatusController::overheadBars() {
570 if (auto bars = m_primaryScript.invoke<JsonArray>("overheadBars"))

Callers

nothing calls this directly

Calls 3

netElementsMethod · 0.80
appendAllMethod · 0.80
positionMethod · 0.45

Tested by

no test coverage detected