LeviLamina
Loading...
Searching...
No Matches
NetworkedItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/item/components/ItemComponent.h"
5
6template <typename T>
8public:
9 [[nodiscard]] bool isNetworkComponent() const override;
10 [[nodiscard]] std::unique_ptr<CompoundTag> buildNetworkTag(const cereal::ReflectionCtx&) const override;
11 bool initializeFromNetwork(const CompoundTag&, const cereal::ReflectionCtx&) override;
12};
Definition CompoundTag.h:13
Definition ItemComponent.h:16
Definition NetworkedItemComponent.h:7
Definition ReflectionCtx.h:11