Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarNetPackets.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-07-27 14:52:36 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-07-27 14:52:36 +1000
commita5788e75857e0347e2e826fb2dfe3ceeaaa5cf80 (patch)
tree27a5123ec16e751f2eb2a72826ede93b9ed68b9b /source/game/StarNetPackets.hpp
parent951fe787c437d43982f5eda77e1f19bf83998bfd (diff)
Update StarNetPackets.cpp
Diffstat (limited to 'source/game/StarNetPackets.hpp')
-rw-r--r--source/game/StarNetPackets.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/game/StarNetPackets.hpp b/source/game/StarNetPackets.hpp
index bfaea6e..26fba1a 100644
--- a/source/game/StarNetPackets.hpp
+++ b/source/game/StarNetPackets.hpp
@@ -132,7 +132,6 @@ struct Packet {
virtual ~Packet();
virtual PacketType type() const = 0;
- virtual String const& typeName() const = 0;
virtual void readLegacy(DataStream& ds);
virtual void read(DataStream& ds) = 0;
@@ -156,7 +155,6 @@ struct PacketBase : public Packet {
static PacketType const Type = PacketT;
PacketType type() const override { return Type; }
- String const& typeName() const override { return PacketTypeNames.getRight(Type); }
};
struct ProtocolRequestPacket : PacketBase<PacketType::ProtocolRequest> {