| 1740 | } |
| 1741 | |
| 1742 | bool WorldServer::regionActive(RectI const& region) { |
| 1743 | for (auto const& sector : m_worldStorage->sectorsForRegion(region)) { |
| 1744 | if (!m_worldStorage->sectorActive(sector)) |
| 1745 | return false; |
| 1746 | } |
| 1747 | return true; |
| 1748 | } |
| 1749 | |
| 1750 | WorldServer::ScriptComponentPtr WorldServer::scriptContext(String const& contextName) { |
| 1751 | if (auto context = m_scriptContexts.ptr(contextName)) |
nothing calls this directly
no test coverage detected