diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-16 17:06:14 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-16 17:06:14 +0200 |
commit | 18a99085f468dfcb4ec2d9f93361b23874364d82 (patch) | |
tree | 6a610615d559eea98a9af8a2b34bac35a44b4517 /source/cPlugin.h | |
parent | Proper kick reasons! (diff) | |
download | cuberite-18a99085f468dfcb4ec2d9f93361b23874364d82.tar cuberite-18a99085f468dfcb4ec2d9f93361b23874364d82.tar.gz cuberite-18a99085f468dfcb4ec2d9f93361b23874364d82.tar.bz2 cuberite-18a99085f468dfcb4ec2d9f93361b23874364d82.tar.lz cuberite-18a99085f468dfcb4ec2d9f93361b23874364d82.tar.xz cuberite-18a99085f468dfcb4ec2d9f93361b23874364d82.tar.zst cuberite-18a99085f468dfcb4ec2d9f93361b23874364d82.zip |
Diffstat (limited to 'source/cPlugin.h')
-rw-r--r-- | source/cPlugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cPlugin.h b/source/cPlugin.h index 41618e47e..e42e970c2 100644 --- a/source/cPlugin.h +++ b/source/cPlugin.h @@ -66,6 +66,8 @@ public: virtual bool OnPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) {return false; } virtual bool OnBlockToPickup (BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, const cPlayer * a_Player, const cItem & a_EquippedItem, cItems & a_Pickups) {return false; } virtual bool OnWeatherChanged (cWorld * a_World) {return false; } + 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) {return false; } + 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) {return false; } // Accessors const char* GetName() const { return m_Name.c_str(); } |