LeviLamina
Loading...
Searching...
No Matches
ComponentItemData_Legacy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/WeakPtr.h"
7#include "mc/deps/shared_types/legacy/item/UseAnimation.h"
8#include "mc/world/item/CreativeItemCategory.h"
9#include "mc/world/item/enchanting/Enchant.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockType;
14class HashedString;
15// clang-format on
16
17struct ComponentItemData_Legacy {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::WeakPtr<::BlockType const>> mBlockType;
22 ::ll::TypedStorage<8, 24, ::std::vector<::HashedString>> mTags;
23 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mCreativeGroup;
24 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mHoverTextColorFormat;
25 ::ll::TypedStorage<4, 8, ::std::optional<float>> mSpeed;
26 ::ll::TypedStorage<4, 8, ::std::optional<int>> mMaxUseDuration;
27 ::ll::TypedStorage<4, 8, ::std::optional<int>> mDamage;
28 ::ll::TypedStorage<4, 8, ::std::optional<int>> mEnchantValue;
29 ::ll::TypedStorage<4, 8, ::std::optional<int>> mFrameCount;
30 ::ll::TypedStorage<4, 8, ::std::optional<::CreativeItemCategory>> mCreativeCategory;
31 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::Legacy::UseAnimation>> mUseAnim;
32 ::ll::TypedStorage<4, 8, ::std::optional<::Enchant::Slot>> mEnchantSlot;
33 ::ll::TypedStorage<1, 2, ::std::optional<uchar>> mMaxStackSize;
34 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsStackedByData;
35 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mHandEquipped;
36 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsLiquidClipped;
37 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsGlint;
38 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mAllowOffhand;
39 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mCanDestroyInCreative;
40 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mAnimatesInToolbar;
41 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mShouldDespawn;
42 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mRequiresInteract;
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
47 ComponentItemData_Legacy& operator=(ComponentItemData_Legacy const&);
48 ComponentItemData_Legacy();
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI ComponentItemData_Legacy(::ComponentItemData_Legacy&&);
54
55 MCAPI ComponentItemData_Legacy(::ComponentItemData_Legacy const&);
56
57 MCAPI ::ComponentItemData_Legacy& operator=(::ComponentItemData_Legacy&&);
58
59 MCAPI ~ComponentItemData_Legacy();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::ComponentItemData_Legacy&&);
66
67 MCAPI void* $ctor(::ComponentItemData_Legacy const&);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75};
Definition BlockType.h:84
Definition HashedString.h:5