diff options
author | STRWarrior <STRWarrior@users.noreply.github.com> | 2014-08-20 22:57:48 +0200 |
---|---|---|
committer | STRWarrior <STRWarrior@users.noreply.github.com> | 2014-08-20 22:57:48 +0200 |
commit | 3a113e3a75bb345d008e13bbecae5f78ed9d9aae (patch) | |
tree | d2d17b4c0091905cb55245305292ada6dcb11d71 /src/Bindings/PluginManager.h | |
parent | Merge pull request #1335 from mc-server/CodeFixes (diff) | |
parent | Renamed a_Motd to a_ServerDescription. (diff) | |
download | cuberite-3a113e3a75bb345d008e13bbecae5f78ed9d9aae.tar cuberite-3a113e3a75bb345d008e13bbecae5f78ed9d9aae.tar.gz cuberite-3a113e3a75bb345d008e13bbecae5f78ed9d9aae.tar.bz2 cuberite-3a113e3a75bb345d008e13bbecae5f78ed9d9aae.tar.lz cuberite-3a113e3a75bb345d008e13bbecae5f78ed9d9aae.tar.xz cuberite-3a113e3a75bb345d008e13bbecae5f78ed9d9aae.tar.zst cuberite-3a113e3a75bb345d008e13bbecae5f78ed9d9aae.zip |
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r-- | src/Bindings/PluginManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index e0573f386..cef6619d7 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 (cClientHandle & a_ClientHandle, AString & a_ServerDescription, 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); |