Files
DarkflameServer/dGame/dComponents/SoundRepeaterComponent.h
2026-10-01 06:38:00 -05:00

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