diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-04-30 12:49:47 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-04-30 12:49:47 +1000 |
commit | d3d4345e057d95d784e34be9b23e7fe07fb9a7c1 (patch) | |
tree | f59fa890e5be1d590e42a337448cecfc6b61850a /source/game/StarNetPackets.hpp | |
parent | 86e229012f84744a1e878124d9a6e2991c0460bb (diff) | |
parent | 885502bf11057e7de961f178bc85ce93a9f40723 (diff) |
Merge branch 'main' into pr/218
Diffstat (limited to 'source/game/StarNetPackets.hpp')
-rw-r--r-- | source/game/StarNetPackets.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/game/StarNetPackets.hpp b/source/game/StarNetPackets.hpp index 8db5c03..63a7ee8 100644 --- a/source/game/StarNetPackets.hpp +++ b/source/game/StarNetPackets.hpp @@ -371,12 +371,14 @@ struct FlyShipPacket : PacketBase<PacketType::FlyShip> { struct ChatSendPacket : PacketBase<PacketType::ChatSend> { ChatSendPacket(); ChatSendPacket(String text, ChatSendMode sendMode); + ChatSendPacket(String text, ChatSendMode sendMode, JsonObject data); void read(DataStream& ds) override; void write(DataStream& ds) const override; String text; ChatSendMode sendMode; + JsonObject data; }; struct CelestialRequestPacket : PacketBase<PacketType::CelestialRequest> { |