1
0
Fork 0
cuberite-2a/src/Blocks/BroadcastInterface.h

13 lines
508 B
C
Raw Normal View History

#pragma once
2014-07-17 20:50:58 +00:00
class cBroadcastInterface
{
public:
virtual ~cBroadcastInterface() {}
2016-02-05 21:45:45 +00:00
virtual void BroadcastUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ) = 0;
2014-10-20 20:55:07 +00:00
virtual void BroadcastSoundEffect(const AString & a_SoundName, double a_X, double a_Y, double a_Z, float a_Volume, float a_Pitch, const cClientHandle * a_Exclude = nullptr) = 0;
virtual void BroadcastEntityAnimation(const cEntity & a_Entity, char a_Animation, const cClientHandle * a_Exclude = nullptr) = 0;
};