diff options
author | andrew <xdotftw@gmail.com> | 2014-02-13 16:13:09 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-02-13 16:13:09 +0100 |
commit | 92e85cc96030285bba74837759925866c1be7235 (patch) | |
tree | af478bb840eefb7164860cddee745acf5e598bd9 /src/Protocol/ProtocolRecognizer.cpp | |
parent | Updated COMPILING instructions for out-of-source build. (diff) | |
download | cuberite-92e85cc96030285bba74837759925866c1be7235.tar cuberite-92e85cc96030285bba74837759925866c1be7235.tar.gz cuberite-92e85cc96030285bba74837759925866c1be7235.tar.bz2 cuberite-92e85cc96030285bba74837759925866c1be7235.tar.lz cuberite-92e85cc96030285bba74837759925866c1be7235.tar.xz cuberite-92e85cc96030285bba74837759925866c1be7235.tar.zst cuberite-92e85cc96030285bba74837759925866c1be7235.zip |
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index 32409c2aa..447fa516b 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -386,6 +386,26 @@ void cProtocolRecognizer::SendLogin(const cPlayer & a_Player, const cWorld & a_W +void cProtocolRecognizer::SendMapColumn(int a_ID, int a_X, int a_Y, const Byte * a_Colors, unsigned int a_Length) +{ + ASSERT(m_Protocol != NULL); + m_Protocol->SendMapColumn(a_ID, a_X, a_Y, a_Colors, a_Length); +} + + + + + +void cProtocolRecognizer::SendMapInfo(int a_ID, unsigned int a_Scale) +{ + ASSERT(m_Protocol != NULL); + m_Protocol->SendMapInfo(a_ID, a_Scale); +} + + + + + void cProtocolRecognizer::SendParticleEffect(const AString & a_ParticleName, float a_SrcX, float a_SrcY, float a_SrcZ, float a_OffsetX, float a_OffsetY, float a_OffsetZ, float a_ParticleData, int a_ParticleAmmount) { ASSERT(m_Protocol != NULL); |