summaryrefslogtreecommitdiffstats
path: root/source/cPlugin_Squirrel.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cPlugin_Squirrel.h')
-rw-r--r--source/cPlugin_Squirrel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/cPlugin_Squirrel.h b/source/cPlugin_Squirrel.h
index cd05e117a..d32ccb3d0 100644
--- a/source/cPlugin_Squirrel.h
+++ b/source/cPlugin_Squirrel.h
@@ -16,10 +16,10 @@ public:
bool OnCollectItem (cPickup* a_Pickup, cPlayer* a_Player ) override;
bool OnDisconnect (const AString & a_Reason, cPlayer * a_Player ) override;
- bool OnBlockPlace (cPacket_BlockPlace* a_PacketData, cPlayer* a_Player ) override;
- bool OnBlockDig (cPacket_BlockDig* a_PacketData, cPlayer* a_Player, cItem* a_PickupItem ) override;
- bool OnChat (const char* a_Chat, cPlayer* a_Player ) override;
- bool OnLogin (cPacket_Login* a_PacketData ) override;
+ bool OnBlockPlace (cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, const cItem & a_HeldItem) override;
+ bool OnBlockDig (cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status, BLOCKTYPE a_OldBlock, NIBBLETYPE a_OldMeta) override;
+ bool OnChat (const char * a_Chat, cPlayer * a_Player ) override;
+ bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username) override;
void OnPlayerSpawn (cPlayer* a_Player ) override;
bool OnPlayerJoin (cPlayer* a_Player ) override;
void OnPlayerMove (cPlayer* a_Player ) override;