From cb19eef701b5c9e27d0464795fffcf8a4d795a21 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 22 Jul 2023 22:31:04 +1000 Subject: Add character swapping (no GUI yet) --- source/game/StarSystemWorldClient.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/game/StarSystemWorldClient.cpp') 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 SystemWorldClient::objects() const { return m_objects.values(); } +List SystemWorldClient::objectKeys() const { + return m_objects.keys(); +} + SystemObjectPtr SystemWorldClient::getObject(Uuid const& uuid) const { return m_objects.maybe(uuid).value({}); } -- cgit v1.2.3