diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-18 20:22:28 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-18 20:23:10 +0200 |
commit | bc1b70dcde4cf22ef52fe794125c533afcee2655 (patch) | |
tree | 316de008808cc998d995138fae944f4266e856fc /src/Protocol/Protocol.h | |
parent | Delete duplicated status request handlers (diff) | |
download | cuberite-bc1b70dcde4cf22ef52fe794125c533afcee2655.tar cuberite-bc1b70dcde4cf22ef52fe794125c533afcee2655.tar.gz cuberite-bc1b70dcde4cf22ef52fe794125c533afcee2655.tar.bz2 cuberite-bc1b70dcde4cf22ef52fe794125c533afcee2655.tar.lz cuberite-bc1b70dcde4cf22ef52fe794125c533afcee2655.tar.xz cuberite-bc1b70dcde4cf22ef52fe794125c533afcee2655.tar.zst cuberite-bc1b70dcde4cf22ef52fe794125c533afcee2655.zip |
Diffstat (limited to 'src/Protocol/Protocol.h')
-rw-r--r-- | src/Protocol/Protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h index 96e837bb0..c2b3cd3f0 100644 --- a/src/Protocol/Protocol.h +++ b/src/Protocol/Protocol.h @@ -343,7 +343,7 @@ public: }; /** Called when client sends some data */ - virtual void DataReceived(const char * a_Data, size_t a_Size) = 0; + virtual void DataReceived(cByteBuffer & a_Buffer, const char * a_Data, size_t a_Size) = 0; // Sending stuff to clients (alphabetically sorted): virtual void SendAttachEntity (const cEntity & a_Entity, const cEntity & a_Vehicle) = 0; |