diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-01-22 18:13:12 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-01-22 18:13:12 +0100 |
commit | c832fbeb8e3f06849adc6bf02f2310c3f0331bc8 (patch) | |
tree | b990d233e6d63ecc398f77354975a01bf47466c5 /src/ClientHandle.h | |
parent | Actually implemented interfaces (diff) | |
parent | Merge pull request #574 from tonibm19/patch-1 (diff) | |
download | cuberite-c832fbeb8e3f06849adc6bf02f2310c3f0331bc8.tar cuberite-c832fbeb8e3f06849adc6bf02f2310c3f0331bc8.tar.gz cuberite-c832fbeb8e3f06849adc6bf02f2310c3f0331bc8.tar.bz2 cuberite-c832fbeb8e3f06849adc6bf02f2310c3f0331bc8.tar.lz cuberite-c832fbeb8e3f06849adc6bf02f2310c3f0331bc8.tar.xz cuberite-c832fbeb8e3f06849adc6bf02f2310c3f0331bc8.tar.zst cuberite-c832fbeb8e3f06849adc6bf02f2310c3f0331bc8.zip |
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 4add022a6..e1f326543 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -16,6 +16,7 @@ #include "OSSupport/SocketThreads.h" #include "ChunkDef.h" #include "ByteBuffer.h" +#include "Scoreboard.h" @@ -125,6 +126,9 @@ public: void SendRespawn (void); void SendExperience (void); void SendExperienceOrb (const cExpOrb & a_ExpOrb); + void SendScoreboardObjective (const AString & a_Name, const AString & a_DisplayName, Byte a_Mode); + void SendScoreUpdate (const AString & a_Objective, const AString & a_Player, cObjective::Score a_Score, Byte a_Mode); + void SendDisplayObjective (const AString & a_Objective, cScoreboard::eDisplaySlot a_Display); void SendSoundEffect (const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch); // a_Src coords are Block * 8 void SendSoundParticleEffect (int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data); void SendSpawnFallingBlock (const cFallingBlock & a_FallingBlock); |