mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 22:17:31 +00:00
b261e63233
* chore: Change entity and component logic to use bitstream references * merge
17 lines
427 B
C++
17 lines
427 B
C++
#ifndef __ITEMCOMPONENT__H__
|
|
#define __ITEMCOMPONENT__H__
|
|
|
|
#include "Component.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
class ItemComponent final : public Component {
|
|
public:
|
|
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::ITEM;
|
|
|
|
ItemComponent(Entity* entity) : Component(entity) {}
|
|
|
|
void Serialize(RakNet::BitStream& bitStream, bool isConstruction) override;
|
|
};
|
|
|
|
#endif //!__ITEMCOMPONENT__H__
|