diff options
Diffstat (limited to 'src/Blocks/BroadcastInterface.h')
-rw-r--r-- | src/Blocks/BroadcastInterface.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Blocks/BroadcastInterface.h b/src/Blocks/BroadcastInterface.h new file mode 100644 index 000000000..b1b450690 --- /dev/null +++ b/src/Blocks/BroadcastInterface.h @@ -0,0 +1,12 @@ + +#pragma once + +class cBroadcastInterface +{ +public: + virtual ~cBroadcastInterface() {} + + virtual void BroadcastUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ ) = 0; + virtual void BroadcastSoundEffect(const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch, const cClientHandle * a_Exclude = NULL) = 0; + virtual void BroadcastEntityAnimation(const cEntity & a_Entity, char a_Animation, const cClientHandle * a_Exclude = NULL) = 0; +}; |