| 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); |
| 966 | if (!result) |
| 967 | result = m_statusController->receiveMessage(message, world()->connection() == sendingConnection, args); |
| 968 | return result; |
| 969 | } |
| 970 | |
| 971 | Vec2F Npc::armPosition(ToolHand hand, Direction facingDirection, float armAngle, Vec2F offset) const { |
| 972 | return m_tools->armPosition(m_humanoid, hand, facingDirection, armAngle, offset); |
no test coverage detected