summaryrefslogtreecommitdiffstats
path: root/source/Plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Plugin.cpp')
-rw-r--r--source/Plugin.cpp45
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);