@@ -30,9 +30,9 @@ private:
|
||||
|
||||
bool didTick;
|
||||
int lastKeepAliveId;
|
||||
int64_t lastKeepAliveTime;
|
||||
__int64 lastKeepAliveTime;
|
||||
static Random random;
|
||||
int64_t lastKeepAliveTick;
|
||||
__int64 lastKeepAliveTick;
|
||||
int chatSpamTickCount;
|
||||
int dropSpamTickCount;
|
||||
|
||||
@@ -81,7 +81,7 @@ private:
|
||||
|
||||
public:
|
||||
// 4J Stu - Handlers only valid in debug mode
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
virtual void handleContainerSetSlot(shared_ptr<ContainerSetSlotPacket> packet);
|
||||
#endif
|
||||
virtual void handleContainerClick(shared_ptr<ContainerClickPacket> packet);
|
||||
@@ -89,13 +89,13 @@ public:
|
||||
virtual void handleSetCreativeModeSlot(shared_ptr<SetCreativeModeSlotPacket> packet);
|
||||
virtual void handleContainerAck(shared_ptr<ContainerAckPacket> packet);
|
||||
virtual void handleSignUpdate(shared_ptr<SignUpdatePacket> packet);
|
||||
virtual void handleKeepAlive(shared_ptr<KeepAlivePacket> packet);
|
||||
virtual void handleKeepAlive(shared_ptr<KeepAlivePacket> packet);
|
||||
virtual void handlePlayerInfo(shared_ptr<PlayerInfoPacket> packet); // 4J Added
|
||||
virtual bool isServerPacketListener();
|
||||
virtual void handlePlayerAbilities(shared_ptr<PlayerAbilitiesPacket> playerAbilitiesPacket);
|
||||
virtual void handleCustomPayload(shared_ptr<CustomPayloadPacket> customPayloadPacket);
|
||||
|
||||
// 4J Added
|
||||
// 4J Added
|
||||
virtual void handleCraftItem(shared_ptr<CraftItemPacket> packet);
|
||||
virtual void handleTradeItem(shared_ptr<TradeItemPacket> packet);
|
||||
virtual void handleDebugOptions(shared_ptr<DebugOptionsPacket> packet);
|
||||
|
||||
Reference in New Issue
Block a user