mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-17 17:25:27 +00:00
feat(entity): the client's spawner component (10) on spawner objects
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
17
dGame/dComponents/SpawnerComponent.h
Normal file
17
dGame/dComponents/SpawnerComponent.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef SPAWNERCOMPONENT_H
|
||||
#define SPAWNERCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
|
||||
/**
|
||||
* The spawner component (10) of a spawner object (LOT 176), made from the registry as the client makes it.
|
||||
*/
|
||||
class SpawnerComponent final : public Component {
|
||||
public:
|
||||
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::SPAWNER;
|
||||
|
||||
SpawnerComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {}
|
||||
};
|
||||
|
||||
#endif // SPAWNERCOMPONENT_H
|
||||
Reference in New Issue
Block a user