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