diff options
author | tycho <work.tycho@gmail.com> | 2015-09-27 16:18:31 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-12-18 19:14:34 +0100 |
commit | 50186579737c12f11bea815d5fb8db732c6ff3c6 (patch) | |
tree | 7ca89ced1321b2bcff243d16818f93db02ca3b25 /src/Protocol/LengthenedProtocol.h | |
parent | broken 2 (diff) | |
download | cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.gz cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.bz2 cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.lz cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.xz cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.zst cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.zip |
Diffstat (limited to 'src/Protocol/LengthenedProtocol.h')
-rw-r--r-- | src/Protocol/LengthenedProtocol.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Protocol/LengthenedProtocol.h b/src/Protocol/LengthenedProtocol.h index 88550989d..4394614ce 100644 --- a/src/Protocol/LengthenedProtocol.h +++ b/src/Protocol/LengthenedProtocol.h @@ -11,6 +11,10 @@ public: { } + virtual ~cLengthenedProtocol() = default; + + cProtocolError HandleHandshake(cByteBuffer & a_ByteBuffer, std::vector<std::unique_ptr<cClientAction>> & a_Actions) override WARN_UNUSED; + protected: virtual cProtocolError DataReceived(const char * a_Data, size_t a_Size, std::vector<std::unique_ptr<cClientAction>> & a_Actions) override WARN_UNUSED; /** This method should append the actions from incoming packets to a_Action */ |