mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 21:47:24 +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__
|