2012-10-31 13:18:01 -07:00
|
|
|
|
|
|
|
// Protocol142.h
|
|
|
|
|
|
|
|
// Interfaces to the cProtocol142 class representing the release 1.4.2 protocol (#47)
|
2012-11-15 03:00:40 -08:00
|
|
|
// The same protocol class is used for 1.4.4 too, because the only difference is in a packet that MCServer doesn't implement yet (ITEM_DATA)
|
2012-10-31 13:18:01 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Protocol132.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cProtocol142 :
|
|
|
|
public cProtocol132
|
|
|
|
{
|
|
|
|
typedef cProtocol132 super;
|
|
|
|
public:
|
|
|
|
|
|
|
|
cProtocol142(cClientHandle * a_Client);
|
|
|
|
virtual ~cProtocol142();
|
|
|
|
|
|
|
|
// Sending commands (alphabetically sorted):
|
2012-10-31 13:47:09 -07:00
|
|
|
virtual void SendPickupSpawn (const cPickup & a_Pickup) override;
|
2012-10-31 13:18:01 -07:00
|
|
|
virtual void SendSoundParticleEffect(int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data) override;
|
2012-11-01 14:38:20 -07:00
|
|
|
virtual void SendTimeUpdate (Int64 a_WorldAge, Int64 a_TimeOfDay) override;
|
2012-10-31 13:18:01 -07:00
|
|
|
|
|
|
|
// Specific packet parsers:
|
2012-11-10 06:01:07 -08:00
|
|
|
virtual int ParseLocaleViewDistance(void) override;
|
2012-10-31 13:18:01 -07:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|