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

Method openContainerId

source/frontend/StarContainerInteractor.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23EntityId 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
33ContainerEntityPtr const& ContainerInteractor::openContainer() const {
34 if (m_openContainer && !m_openContainer->inWorld())

Callers 3

handleInteractActionMethod · 0.80
updateMethod · 0.80
ContainerPaneMethod · 0.80

Calls 2

entityIdMethod · 0.80
inWorldMethod · 0.45

Tested by

no test coverage detected