summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BroadcastInterface.h
blob: b1b450690f5155f269ba2b5b98fbfa2aee27a81d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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;
};