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 // vIndex: 7
29 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
30
31 // vIndex: 0
32 virtual ~RarityItemComponent() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static void _rarityFromString(::RarityItemComponent& instance, ::std::string const& value);
39
40 MCAPI static void bindType(
42 ::std::vector<::AllExperiments> const& requiredToggles,
43 ::std::optional<::SemVersion> releasedMinFormatVersion
44 );
45
46 MCAPI static ::HashedString const& getIdentifier();
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI void $_initializeComponent(::ComponentItem& owner);
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition ComponentItem.h:53
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition RarityItemComponent.h:18
static MCAPI void ** $vftable()
Definition SemVersion.h:16
Definition ReflectionCtx.h:11
Definition ctx.h:5