summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Protocol/Protocol18x.h')
-rw-r--r--src/Protocol/Protocol18x.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol18x.h
index 11a376b17..6604cbc3e 100644
--- a/src/Protocol/Protocol18x.h
+++ b/src/Protocol/Protocol18x.h
@@ -54,6 +54,32 @@ public:
cProtocol180(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State);
+ virtual void SendPickupSpawn (const cPickup & a_Pickup) override {}
+ virtual void SendSpawnObject (const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, Byte a_Yaw, Byte a_Pitch) override {}
+ virtual void SendInventorySlot (char a_WindowID, short a_SlotNum, const cItem & a_Item) override {}
+ virtual void SendWholeInventory (const cWindow & a_Window) override {}
+ virtual void SendParticleEffect (const AString & a_ParticleName, float a_SrcX, float a_SrcY, float a_SrcZ, float a_OffsetX, float a_OffsetY, float a_OffsetZ, float a_ParticleData, int a_ParticleAmmount) override;
+ virtual void SendPlayerMoveLook (void) override;
+ virtual void SendUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ) override;
+ virtual void SendCollectEntity (const cEntity & a_Entity, const cPlayer & a_Player) override;
+ virtual void SendEntityVelocity (const cEntity & a_Entity) override;
+ virtual void SendDestroyEntity (const cEntity & a_Entity) override;
+ virtual void SendEntityRelMove (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ) override;
+ virtual void SendEntityRelMoveLook (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ) override;
+ virtual void SendEntityLook(const cEntity & a_Entity) override;
+ virtual void SendTeleportEntity(const cEntity & a_Entity) override;
+ virtual void SendEntityHeadLook(const cEntity & a_Entity) override;
+ virtual void SendEntityMetadata(const cEntity & a_Entity) override;
+ virtual void SendEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration) override;
+ virtual void SendRemoveEntityEffect(const cEntity & a_Entity, int a_EffectID) override;
+ virtual void SendEntityProperties(const cEntity & a_Entity) override;
+ virtual void SendKeepAlive(int a_PingID) override;
+ virtual void SendHealth(void) override;
+ virtual void SendExperience(void) override;
+ virtual void SendPaintingSpawn(const cPainting & a_Painting) override;
+ virtual void SendPluginMessage(const AString & a_Channel, const AString & a_Message) override;
+ virtual void SendUnloadChunk(int a_ChunkX, int a_ChunkZ) override;
+ virtual void SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer) override;
virtual void SendBlockChange(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual void SendBlockChanges(int a_ChunkX, int a_ChunkZ, const sSetBlockVector & a_Changes) override;
virtual void SendChat(const AString & a_Message) override;
@@ -69,6 +95,16 @@ protected:
// Packet handlers while in the Login state (m_State == 2):
virtual void HandlePacketLoginStart(cByteBuffer & a_ByteBuffer) override;
virtual void HandlePacketLoginEncryptionResponse(cByteBuffer & a_ByteBuffer) override;
+
+ // Packet handlers while in the Game state (m_State == 3):
+ virtual void HandlePacketPluginMessage(cByteBuffer & a_ByteBuffer) override;
+ virtual void HandlePacketClientStatus(cByteBuffer & a_ByteBuffer) override;
+ virtual void HandlePacketSteerVehicle(cByteBuffer & a_ByteBuffer) override;
+ virtual void HandlePacketEntityAction(cByteBuffer & a_ByteBuffer) override;
+ virtual void HandlePacketUseEntity(cByteBuffer & a_ByteBuffer) override;
+ virtual void HandlePacketKeepAlive(cByteBuffer & a_ByteBuffer) override;
+ virtual void HandlePacketPlayerPos(cByteBuffer & a_ByteBuffer) override;
+ virtual void HandlePacketPlayerPosLook(cByteBuffer & a_ByteBuffer) override;
} ;