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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user