LeviLamina
Loading...
Searching...
No Matches
RarityItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/Rarity.h"
7#include "mc/world/item/components/NetworkedItemComponent.h"
8#include "mc/world/level/storage/AllExperiments.h"
9
10// auto generated forward declare list
11// clang-format off
12class ComponentItem;
13class HashedString;
14class SemVersion;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class RarityItemComponent : public ::NetworkedItemComponent<::RarityItemComponent> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, ::Rarity> mRarity;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
29
30 virtual ~RarityItemComponent() /*override*/ = default;
31 // NOLINTEND
32
33public:
34 // static functions
35 // NOLINTBEGIN
36 MCAPI static void bindType(
38 ::std::vector<::AllExperiments> const& requiredToggles,
39 ::std::optional<::SemVersion> releasedMinFormatVersion
40 );
41
42 MCAPI static ::HashedString const& getIdentifier();
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI void $_initializeComponent(::ComponentItem& owner);
49
50
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition ComponentItem.h:55
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition RarityItemComponent.h:18
static MCAPI void ** $vftable()
Definition SemVersion.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5