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

Method regionActive

source/game/StarWorldServer.cpp:1742–1748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1740}
1741
1742bool 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
1750WorldServer::ScriptComponentPtr WorldServer::scriptContext(String const& contextName) {
1751 if (auto context = m_scriptContexts.ptr(contextName))

Callers

nothing calls this directly

Calls 2

sectorsForRegionMethod · 0.80
sectorActiveMethod · 0.80

Tested by

no test coverage detected