Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarSystemWorldClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarSystemWorldClient.cpp')
-rw-r--r--source/game/StarSystemWorldClient.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/game/StarSystemWorldClient.cpp b/source/game/StarSystemWorldClient.cpp
index d4f8c15..da28c98 100644
--- a/source/game/StarSystemWorldClient.cpp
+++ b/source/game/StarSystemWorldClient.cpp
@@ -82,6 +82,10 @@ List<SystemObjectPtr> SystemWorldClient::objects() const {
return m_objects.values();
}
+List<Uuid> SystemWorldClient::objectKeys() const {
+ return m_objects.keys();
+}
+
SystemObjectPtr SystemWorldClient::getObject(Uuid const& uuid) const {
return m_objects.maybe(uuid).value({});
}