diff options
author | Mattes D <github@xoft.cz> | 2013-12-22 15:45:24 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-12-22 15:45:24 +0100 |
commit | f404130e8c5f91788eec9dfc3b9d22099b8d060c (patch) | |
tree | 64e2f2959d7e560101200541b85f18357826e163 /src/Protocol/ProtocolRecognizer.cpp | |
parent | Using regular assignments. (diff) | |
parent | Fixed compiler warning. (diff) | |
download | cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.gz cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.bz2 cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.lz cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.xz cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.tar.zst cuberite-f404130e8c5f91788eec9dfc3b9d22099b8d060c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index 30b48a92f..1cae4a750 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -386,6 +386,16 @@ void cProtocolRecognizer::SendLogin(const cPlayer & a_Player, const cWorld & a_W +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); + m_Protocol->SendParticleEffect(a_ParticleName, a_SrcX, a_SrcY, a_SrcZ, a_OffsetX, a_OffsetY, a_OffsetZ, a_ParticleData, a_ParticleAmmount); +} + + + + + void cProtocolRecognizer::SendPickupSpawn(const cPickup & a_Pickup) { ASSERT(m_Protocol != NULL); |