diff options
Diffstat (limited to 'source/game/StarNetPacketSocket.hpp')
-rw-r--r-- | source/game/StarNetPacketSocket.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/game/StarNetPacketSocket.hpp b/source/game/StarNetPacketSocket.hpp index da90386..bfdd20c 100644 --- a/source/game/StarNetPacketSocket.hpp +++ b/source/game/StarNetPacketSocket.hpp @@ -72,6 +72,11 @@ public: // Default implementations return nothing. virtual Maybe<PacketStats> incomingStats() const; virtual Maybe<PacketStats> outgoingStats() const; + + void setLegacy(bool legacy); + bool legacy() const; +private: + bool m_legacy = false; }; // PacketSocket for local communication. |