mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-18 17:55:27 +00:00
feat(entity): the client's faction trigger component (72)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
17
dGame/dComponents/FactionTriggerComponent.h
Normal file
17
dGame/dComponents/FactionTriggerComponent.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef FACTIONTRIGGERCOMPONENT_H
|
||||
#define FACTIONTRIGGERCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
|
||||
/**
|
||||
* Faction trigger, as the client's LWOFactionTriggerComponent makes it from the registry. Nothing of it is sent or done on the server yet.
|
||||
*/
|
||||
class FactionTriggerComponent final : public Component {
|
||||
public:
|
||||
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::FACTION_TRIGGER;
|
||||
|
||||
FactionTriggerComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {}
|
||||
};
|
||||
|
||||
#endif // FACTIONTRIGGERCOMPONENT_H
|
||||
Reference in New Issue
Block a user