| 955 | } |
| 956 | |
| 957 | List<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 | |
| 964 | Maybe<Json> Npc::receiveMessage(ConnectionId sendingConnection, String const& message, JsonArray const& args) { |
| 965 | Maybe<Json> result = m_scriptComponent.handleMessage(message, world()->connection() == sendingConnection, args); |
no test coverage detected