diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-05 22:30:27 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-05 22:30:27 +0200 |
commit | f94456dd3eccc65a6f304d4b804ca09a67fa6008 (patch) | |
tree | 9997e63b9e0152661232aff9c78b78f2b215233e /source/cPlugin_NewLua.h | |
parent | ProtoProxy: Added about 10 new packet types parsed (diff) | |
download | cuberite-f94456dd3eccc65a6f304d4b804ca09a67fa6008.tar cuberite-f94456dd3eccc65a6f304d4b804ca09a67fa6008.tar.gz cuberite-f94456dd3eccc65a6f304d4b804ca09a67fa6008.tar.bz2 cuberite-f94456dd3eccc65a6f304d4b804ca09a67fa6008.tar.lz cuberite-f94456dd3eccc65a6f304d4b804ca09a67fa6008.tar.xz cuberite-f94456dd3eccc65a6f304d4b804ca09a67fa6008.tar.zst cuberite-f94456dd3eccc65a6f304d4b804ca09a67fa6008.zip |
Diffstat (limited to 'source/cPlugin_NewLua.h')
-rw-r--r-- | source/cPlugin_NewLua.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/cPlugin_NewLua.h b/source/cPlugin_NewLua.h index 5114889e9..01fefde0a 100644 --- a/source/cPlugin_NewLua.h +++ b/source/cPlugin_NewLua.h @@ -34,17 +34,18 @@ public: //tolua_export virtual bool OnCollectPickup (cPlayer * a_Player, cPickup * a_Pickup) override; virtual bool OnCraftingNoRecipe(const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override; virtual bool OnDisconnect (cPlayer * a_Player, const AString & a_Reason) override; - virtual bool OnKilled (cPawn* a_Killed, cEntity* a_Killer ) override; + virtual bool OnKilled (cPawn * a_Killed, cEntity* a_Killer ) override; virtual bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username) override; - virtual bool OnPlayerJoin (cPlayer* a_Player ) override; - virtual void OnPlayerMove (cPlayer* a_Player ) override; - virtual void OnPlayerSpawn (cPlayer* a_Player ) override; + virtual bool OnPlayerJoin (cPlayer * a_Player ) override; + virtual void OnPlayerMove (cPlayer * a_Player ) override; + virtual void OnPlayerSpawn (cPlayer * a_Player ) override; virtual bool OnPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override; virtual bool OnPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override; - virtual void OnTakeDamage (cPawn* a_Pawn, TakeDamageInfo* a_TakeDamageInfo ) override; + virtual void OnTakeDamage (cPawn * a_Pawn, TakeDamageInfo * a_TakeDamageInfo ) override; virtual bool OnUpdatedSign (cWorld * a_World, 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, cPlayer * a_Player) override; virtual bool OnUpdatingSign (cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ, AString & a_Line1, AString & a_Line2, AString & a_Line3, AString & a_Line4, cPlayer * a_Player) override; virtual bool OnWeatherChanged (cWorld * a_World) override; + virtual bool OnHandshake (cClientHandle * a_Client, const AString & a_Username) override; const AString & GetDirectory(void) const {return m_Directory; } |