| 21 | } |
| 22 | |
| 23 | EntityId ContainerInteractor::openContainerId() const { |
| 24 | if (m_openContainer && !m_openContainer->inWorld()) |
| 25 | m_openContainer = {}; |
| 26 | |
| 27 | if (m_openContainer) |
| 28 | return m_openContainer->entityId(); |
| 29 | |
| 30 | return NullEntityId; |
| 31 | } |
| 32 | |
| 33 | ContainerEntityPtr const& ContainerInteractor::openContainer() const { |
| 34 | if (m_openContainer && !m_openContainer->inWorld()) |
no test coverage detected