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

Method lightSources

source/game/StarNpc.cpp:957–962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955}
956
957List<LightSource> Npc::lightSources() const {
958 List<LightSource> lights;
959 lights.appendAll(m_tools->lightSources());
960 lights.appendAll(m_statusController->lightSources());
961 return lights;
962}
963
964Maybe<Json> Npc::receiveMessage(ConnectionId sendingConnection, String const& message, JsonArray const& args) {
965 Maybe<Json> result = m_scriptComponent.handleMessage(message, world()->connection() == sendingConnection, args);

Callers 3

renderMethod · 0.45
renderLightSourcesMethod · 0.45
lightLevelFunction · 0.45

Calls 1

appendAllMethod · 0.80

Tested by

no test coverage detected