mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +00:00
23 lines
537 B
C++
23 lines
537 B
C++
#ifndef __COLLECTIBLECOMPONENT__H__
|
|
#define __COLLECTIBLECOMPONENT__H__
|
|
|
|
#include "Component.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
#include <cstdint>
|
|
|
|
class CollectibleComponent : public Component {
|
|
public:
|
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::COLLECTIBLE;
|
|
CollectibleComponent(Entity* parent) : Component(parent) { };
|
|
|
|
void Startup() override;
|
|
|
|
uint32_t GetCollectibleId() const { return m_CollectibleId; }
|
|
private:
|
|
uint32_t m_CollectibleId;
|
|
};
|
|
|
|
|
|
#endif //!__COLLECTIBLECOMPONENT__H__
|