diff options
author | madmaxoft <github@xoft.cz> | 2013-08-08 09:13:13 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-08 09:13:13 +0200 |
commit | 3f4abe8c95e4d37a84018ca4d478a908fca423ac (patch) | |
tree | 4315077d767775ae9bd938a6301d59c0191c507d /source/Plugin.cpp | |
parent | Merge branch 'master' of github.com:mc-server/MCServer (diff) | |
download | cuberite-3f4abe8c95e4d37a84018ca4d478a908fca423ac.tar cuberite-3f4abe8c95e4d37a84018ca4d478a908fca423ac.tar.gz cuberite-3f4abe8c95e4d37a84018ca4d478a908fca423ac.tar.bz2 cuberite-3f4abe8c95e4d37a84018ca4d478a908fca423ac.tar.lz cuberite-3f4abe8c95e4d37a84018ca4d478a908fca423ac.tar.xz cuberite-3f4abe8c95e4d37a84018ca4d478a908fca423ac.tar.zst cuberite-3f4abe8c95e4d37a84018ca4d478a908fca423ac.zip |
Diffstat (limited to 'source/Plugin.cpp')
-rw-r--r-- | source/Plugin.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/source/Plugin.cpp b/source/Plugin.cpp index 20943b916..76110321a 100644 --- a/source/Plugin.cpp +++ b/source/Plugin.cpp @@ -5,6 +5,7 @@ #include "Player.h" #include "World.h" #include "CommandOutput.h" +#include "Mobs/Monster.h" @@ -478,6 +479,50 @@ bool cPlugin::OnPreCrafting(const cPlayer * a_Player, const cCraftingGrid * a_Gr +bool cPlugin::OnSpawnedEntity(cWorld & a_World, cEntity & a_Entity) +{ + UNUSED(a_World); + UNUSED(a_Entity); + return false; +} + + + + + +bool cPlugin::OnSpawnedMonster(cWorld & a_World, cMonster & a_Monster) +{ + UNUSED(a_World); + UNUSED(a_Monster); + return false; +} + + + + + +bool cPlugin::OnSpawningEntity(cWorld & a_World, cEntity & a_Entity) +{ + UNUSED(a_World); + UNUSED(a_Entity); + return false; +} + + + + + +bool cPlugin::OnSpawningMonster(cWorld & a_World, cMonster & a_Monster) +{ + UNUSED(a_World); + UNUSED(a_Monster); + return false; +} + + + + + bool cPlugin::OnTakeDamage(cEntity & a_Receiver, TakeDamageInfo & a_TakeDamageInfo) { UNUSED(a_Receiver); |