summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.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/Plugin.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 'src/Bindings/Plugin.h')
-rw-r--r--src/Bindings/Plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index 39d53674b..6f05af51b 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -91,6 +91,7 @@ public:
virtual bool OnPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) = 0;
virtual bool OnProjectileHitBlock (cProjectileEntity & a_Projectile, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Face, const Vector3d & a_BlockHitPos) = 0;
virtual bool OnProjectileHitEntity (cProjectileEntity & a_Projectile, cEntity & a_HitEntity) = 0;
+ virtual bool OnServerPing (const AString & a_Username, AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon) = 0;
virtual bool OnSpawnedEntity (cWorld & a_World, cEntity & a_Entity) = 0;
virtual bool OnSpawnedMonster (cWorld & a_World, cMonster & a_Monster) = 0;
virtual bool OnSpawningEntity (cWorld & a_World, cEntity & a_Entity) = 0;