diff options
Diffstat (limited to 'source/game/StarWorldClient.hpp')
-rw-r--r-- | source/game/StarWorldClient.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/game/StarWorldClient.hpp b/source/game/StarWorldClient.hpp index 85be6d9..0a48a31 100644 --- a/source/game/StarWorldClient.hpp +++ b/source/game/StarWorldClient.hpp @@ -150,6 +150,12 @@ public: void disconnectAllWires(Vec2I wireEntityPosition, WireNode const& node); void connectWire(WireConnection const& output, WireConnection const& input); + // Functions for sending broadcast messages to other players that can receive them, + // on completely vanilla servers by smuggling it through a DamageNotification. + // It's cursed as fuck, but it works. + bool sendSecretBroadcast(StringView broadcast, bool raw = false); + bool handleSecretBroadcast(PlayerPtr player, StringView broadcast); + List<ChatAction> pullPendingChatActions(); WorldStructure const& centralStructure() const; |