mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 15:33:34 +00:00
5225c86d65
* Misc component cleanup * Update InventoryComponent.h * Update MissionComponent.h * Update PropertyManagementComponent.h * Update PropertyVendorComponent.h * Update SkillComponent.h maximum pedantry B) * SoundTriggerComponent.h braces gone * Rename SoundTriggerComponent.h braces gone to SoundTriggerComponent.h I was tired
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__
|