summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-16 18:02:16 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-16 18:02:16 +0200
commit9395cf0bca15371b8dfdb7a444c1e9f7cca0252c (patch)
tree4d5252d0d5fd44ff05f5429cd11853e7d9b4d75f /src/Bindings/PluginManager.h
parentMerge pull request #1316 from ChriPiv/master (diff)
downloadcuberite-9395cf0bca15371b8dfdb7a444c1e9f7cca0252c.tar
cuberite-9395cf0bca15371b8dfdb7a444c1e9f7cca0252c.tar.gz
cuberite-9395cf0bca15371b8dfdb7a444c1e9f7cca0252c.tar.bz2
cuberite-9395cf0bca15371b8dfdb7a444c1e9f7cca0252c.tar.lz
cuberite-9395cf0bca15371b8dfdb7a444c1e9f7cca0252c.tar.xz
cuberite-9395cf0bca15371b8dfdb7a444c1e9f7cca0252c.tar.zst
cuberite-9395cf0bca15371b8dfdb7a444c1e9f7cca0252c.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index 44a94e316..104e4c7a9 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -120,6 +120,7 @@ public:
HOOK_PRE_CRAFTING,
HOOK_PROJECTILE_HIT_BLOCK,
HOOK_PROJECTILE_HIT_ENTITY,
+ HOOK_SERVER_PING,
HOOK_SPAWNED_ENTITY,
HOOK_SPAWNED_MONSTER,
HOOK_SPAWNING_ENTITY,
@@ -225,6 +226,7 @@ public:
bool CallHookPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
bool CallHookProjectileHitBlock (cProjectileEntity & a_Projectile, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Face, const Vector3d & a_BlockHitPos);
bool CallHookProjectileHitEntity (cProjectileEntity & a_Projectile, cEntity & a_HitEntity);
+ bool CallHookServerPing (const AString & a_Username, AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon);
bool CallHookSpawnedEntity (cWorld & a_World, cEntity & a_Entity);
bool CallHookSpawnedMonster (cWorld & a_World, cMonster & a_Monster);
bool CallHookSpawningEntity (cWorld & a_World, cEntity & a_Entity);