diff options
Diffstat (limited to 'source/game/StarSystemWorldServer.cpp')
-rw-r--r-- | source/game/StarSystemWorldServer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/game/StarSystemWorldServer.cpp b/source/game/StarSystemWorldServer.cpp index f430bcb..39a1aad 100644 --- a/source/game/StarSystemWorldServer.cpp +++ b/source/game/StarSystemWorldServer.cpp @@ -247,6 +247,10 @@ List<SystemObjectPtr> SystemWorldServer::objects() const { return m_objects.values(); } +List<Uuid> SystemWorldServer::objectKeys() const { + return m_objects.keys(); +} + SystemObjectPtr SystemWorldServer::getObject(Uuid const& uuid) const { return m_objects.maybe(uuid).value({}); } |