From f0fc0edd21b9340ce48561a5fceee29e4e055dff Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 24 Aug 2012 09:49:00 +0000 Subject: cPickup doesn't use cPackets. Also, Lua API change, OnCollectItem -> OnCollectPickup; first param is cPlayer to match other callbacks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@786 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cClientHandle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/cClientHandle.h') diff --git a/source/cClientHandle.h b/source/cClientHandle.h index ae2bea6c5..0dc0c2fd9 100644 --- a/source/cClientHandle.h +++ b/source/cClientHandle.h @@ -113,6 +113,7 @@ public: void SendPickupSpawn(const cPickup & a_Pickup); void SendSpawnMob (const cMonster & a_Mob); void SendUpdateSign (int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4); + void SendCollectPickup(const cPickup & a_Pickup, const cPlayer & a_Player); const AString & GetUsername(void) const; //tolua_export -- cgit v1.2.3