summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol132.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-21 10:01:59 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-21 10:01:59 +0200
commit9f60f83ea7118c47f0dd2f7355d5b0a56a0bd255 (patch)
tree9b4466b2f9255b297f6512ce49d1650dc688b193 /source/Protocol/Protocol132.h
parentAdded jukeboxes (patch contributed by Luksor) (diff)
downloadcuberite-9f60f83ea7118c47f0dd2f7355d5b0a56a0bd255.tar
cuberite-9f60f83ea7118c47f0dd2f7355d5b0a56a0bd255.tar.gz
cuberite-9f60f83ea7118c47f0dd2f7355d5b0a56a0bd255.tar.bz2
cuberite-9f60f83ea7118c47f0dd2f7355d5b0a56a0bd255.tar.lz
cuberite-9f60f83ea7118c47f0dd2f7355d5b0a56a0bd255.tar.xz
cuberite-9f60f83ea7118c47f0dd2f7355d5b0a56a0bd255.tar.zst
cuberite-9f60f83ea7118c47f0dd2f7355d5b0a56a0bd255.zip
Diffstat (limited to '')
-rw-r--r--source/Protocol/Protocol132.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/Protocol/Protocol132.h b/source/Protocol/Protocol132.h
index a14f8d9a4..a481f7162 100644
--- a/source/Protocol/Protocol132.h
+++ b/source/Protocol/Protocol132.h
@@ -29,8 +29,9 @@ public:
/// Called when client sends some data:
virtual void DataReceived(const char * a_Data, int a_Size) override;
- // Sending commands:
+ // Sending commands (alphabetically sorted):
virtual void SendBlockAction (int a_BlockX, int a_BlockY, int a_BlockZ, char a_Byte1, char a_Byte2, BLOCKTYPE a_BlockType) override;
+ virtual void SendBlockBreakAnim (int a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage) override;
virtual void SendBlockChange (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual void SendChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer) override;
virtual void SendCollectPickup (const cPickup & a_Pickup, const cPlayer & a_Player) override;
@@ -40,16 +41,12 @@ public:
virtual void SendPlayerSpawn (const cPlayer & a_Player) override;
virtual void SendSoundEffect (const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch) override; // a_Src coords are Block * 8
virtual void SendSoundParticleEffect(int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data) override;
- virtual void SendBlockBreakAnim (int a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage) override;
virtual void SendSpawnMob (const cMonster & a_Mob) override;
virtual void SendUnloadChunk (int a_ChunkX, int a_ChunkZ) override;
virtual void SendWholeInventory (const cWindow & a_Window) override;
virtual AString GetAuthServerID(void) override;
- // DEBUG:
- virtual void SendKeepAlive (int a_PingID) override;
-
/// Handling of the additional packets:
virtual int ParsePacket(unsigned char a_PacketType) override;