mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 14:07:20 +00:00
23 lines
513 B
C
23 lines
513 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);
|
||
|
|
||
|
void Startup() override;
|
||
|
|
||
|
uint32_t GetCollectibleId() const { return m_CollectibleId; }
|
||
|
private:
|
||
|
uint32_t m_CollectibleId;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //!__COLLECTIBLECOMPONENT__H__
|