diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-04-16 17:10:00 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-04-16 17:10:00 +1000 |
commit | c59fceecf93895c7bd2b2bf9fe327dd79e9d0c51 (patch) | |
tree | c69342595e560116a03a35a35f1b0b2fa219f72f /source/game/StarUniverseClient.hpp | |
parent | 7d1beb6ed8d125286ffa61e909f6389ae648e128 (diff) |
add optional data for chat messages, for custom Chat panes to read from
Diffstat (limited to 'source/game/StarUniverseClient.hpp')
-rw-r--r-- | source/game/StarUniverseClient.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarUniverseClient.hpp b/source/game/StarUniverseClient.hpp index b770b07..1cb3bfa 100644 --- a/source/game/StarUniverseClient.hpp +++ b/source/game/StarUniverseClient.hpp @@ -80,7 +80,7 @@ public: SkyConstPtr currentSky() const; bool flying() const; - void sendChat(String const& text, ChatSendMode sendMode, Maybe<bool> speak = {}); + void sendChat(String const& text, ChatSendMode sendMode, Maybe<bool> speak = {}, Maybe<JsonObject> data = {}); List<ChatReceivedMessage> pullChatMessages(); uint16_t players(); |