mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-14 15:57:13 +00:00
18 lines
580 B
C++
18 lines
580 B
C++
#ifndef SOUNDREPEATERCOMPONENT_H
|
|
#define SOUNDREPEATERCOMPONENT_H
|
|
|
|
#include "Component.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
/**
|
|
* A repeating sound the client plays (SoundRepeaterComponent row), as the client's LWOSoundRepeaterComponent; the server sends nothing for it.
|
|
*/
|
|
class SoundRepeaterComponent final : public Component {
|
|
public:
|
|
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::SOUND_REPEATER;
|
|
|
|
SoundRepeaterComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {}
|
|
};
|
|
|
|
#endif // SOUNDREPEATERCOMPONENT_H
|