| 2539 | } |
| 2540 | |
| 2541 | RpcPromise<InteractAction> WorldServer::interact(InteractRequest const& request) { |
| 2542 | if (auto entity = as<InteractiveEntity>(m_entityMap->entity(request.targetId))) |
| 2543 | return RpcPromise<InteractAction>::createFulfilled(entity->interact(request)); |
| 2544 | else |
| 2545 | return RpcPromise<InteractAction>::createFulfilled(InteractAction()); |
| 2546 | } |
| 2547 | |
| 2548 | void WorldServer::setupForceRegions() { |
| 2549 | m_forceRegions.clear(); |
nothing calls this directly
no test coverage detected