summaryrefslogtreecommitdiffstats
path: root/src/Broadcaster.h
blob: bdd63aa411eb0832827144f07eb3003ef4d30e52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

class cWorld;

class cBroadcaster
{

public:

	cBroadcaster(cWorld * a_World);

	void BroadcastParticleEffect(const AString & a_ParticleName, const Vector3f a_Src, const Vector3f a_Offset, float a_ParticleData, int a_ParticleAmount, cClientHandle * a_Exclude = nullptr);

	void BroadcastParticleEffect(const AString & a_ParticleName, const Vector3f a_Src, const Vector3f a_Offset, float a_ParticleData, int a_ParticleAmount, std::array<int, 2> a_Data, cClientHandle * a_Exclude = nullptr);

private:
	cWorld * m_World;

};