diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-22 22:31:04 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-22 22:31:04 +1000 |
commit | cb19eef701b5c9e27d0464795fffcf8a4d795a21 (patch) | |
tree | 5cfbdf49ebd7ac9539891eea850e244887d4c355 /source/game/StarSystemWorldClient.cpp | |
parent | 4fbd67daccfa69df6988bdf17c67ee3d5f3049c5 (diff) |
Add character swapping (no GUI yet)
Diffstat (limited to 'source/game/StarSystemWorldClient.cpp')
-rw-r--r-- | source/game/StarSystemWorldClient.cpp | 4 |
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({}); } |