summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authortycho <tycho@localhost>2015-03-21 18:17:26 +0100
committertycho <tycho@localhost>2015-05-07 04:47:46 +0200
commit448df85e569e85e1b4da4eac685950273f30ae1f (patch)
tree045241fff430ae2ffe0b97d7151e44293ad76467 /src/Protocol/ProtocolRecognizer.cpp
parentMerge pull request #1946 from SafwatHalaby/lean (diff)
downloadcuberite-448df85e569e85e1b4da4eac685950273f30ae1f.tar
cuberite-448df85e569e85e1b4da4eac685950273f30ae1f.tar.gz
cuberite-448df85e569e85e1b4da4eac685950273f30ae1f.tar.bz2
cuberite-448df85e569e85e1b4da4eac685950273f30ae1f.tar.lz
cuberite-448df85e569e85e1b4da4eac685950273f30ae1f.tar.xz
cuberite-448df85e569e85e1b4da4eac685950273f30ae1f.tar.zst
cuberite-448df85e569e85e1b4da4eac685950273f30ae1f.zip
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r--src/Protocol/ProtocolRecognizer.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp
index 36f8bc791..e7f7a4526 100644
--- a/src/Protocol/ProtocolRecognizer.cpp
+++ b/src/Protocol/ProtocolRecognizer.cpp
@@ -439,6 +439,17 @@ void cProtocolRecognizer::SendParticleEffect(const AString & a_ParticleName, flo
+
+void cProtocolRecognizer::SendParticleEffect(const AString & a_ParticleName, Vector3f a_Src, Vector3f a_Offset, float a_ParticleData, int a_ParticleAmount, std::array<int, 2> a_Data)
+{
+ ASSERT(m_Protocol != nullptr);
+ m_Protocol->SendParticleEffect(a_ParticleName, a_Src, a_Offset, a_ParticleData, a_ParticleAmount, a_Data);
+}
+
+
+
+
+
void cProtocolRecognizer::SendPaintingSpawn(const cPainting & a_Painting)
{
m_Protocol->SendPaintingSpawn(a_Painting);