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