Add ghost component (#1409)

will be used to migrate other Player functionality in a future PR.

Tested that I can login still.
This commit is contained in:
David Markowitz
2024-01-12 11:18:28 -08:00
committed by GitHub
parent 929d029f12
commit 8b6fb8fb44
4 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#ifndef __GHOSTCOMPONENT__H__
#define __GHOSTCOMPONENT__H__
#include "Component.h"
#include "eReplicaComponentType.h"
class GhostComponent : public Component {
public:
static inline const eReplicaComponentType ComponentType = eReplicaComponentType::GHOST;
GhostComponent(Entity* parent);
};
#endif //!__GHOSTCOMPONENT__H__