| 1766 | } |
| 1767 | |
| 1768 | ServerTile* WorldServer::modifyServerTile(Vec2I const& position, bool withSignal) { |
| 1769 | if (withSignal) |
| 1770 | signalRegion(RectI::withSize(position, {1, 1})); |
| 1771 | |
| 1772 | auto tile = m_tileArray->modifyTile(position); |
| 1773 | if (tile) { |
| 1774 | dirtyCollision(RectI::withSize(position, {1, 1})); |
| 1775 | m_liquidEngine->visitLocation(position); |
| 1776 | queueTileUpdates(position); |
| 1777 | } |
| 1778 | return tile; |
| 1779 | } |
| 1780 | |
| 1781 | EntityId WorldServer::loadUniqueEntity(String const& uniqueId) { |
| 1782 | return m_worldStorage->loadUniqueEntity(uniqueId); |
no test coverage detected