LeviLamina
Loading...
Searching...
No Matches
ComponentItemComponentData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/v1_20_50/item/AllowOffHandItemComponent.h"
7#include "mc/deps/shared_types/v1_20_50/item/CanDestroyInCreativeItemComponent.h"
8#include "mc/deps/shared_types/v1_20_50/item/CooldownItemComponent.h"
9#include "mc/deps/shared_types/v1_20_50/item/DiggerItemComponent.h"
10#include "mc/deps/shared_types/v1_20_50/item/DisplayNameItemComponent.h"
11#include "mc/deps/shared_types/v1_20_50/item/DurabilityItemComponent.h"
12#include "mc/deps/shared_types/v1_20_50/item/EnchantableItemComponent.h"
13#include "mc/deps/shared_types/v1_20_50/item/EntityPlacerItemComponent.h"
14#include "mc/deps/shared_types/v1_20_50/item/FoodItemComponent.h"
15#include "mc/deps/shared_types/v1_20_50/item/FuelItemComponent.h"
16#include "mc/deps/shared_types/v1_20_50/item/GlintItemComponent.h"
17#include "mc/deps/shared_types/v1_20_50/item/HandEquippedItemComponent.h"
18#include "mc/deps/shared_types/v1_20_50/item/HoverTextColorItemComponent.h"
19#include "mc/deps/shared_types/v1_20_50/item/InteractButtonItemComponent.h"
20#include "mc/deps/shared_types/v1_20_50/item/LiquidClippedItemComponent.h"
21#include "mc/deps/shared_types/v1_20_50/item/MaxStackSizeItemComponent.h"
22#include "mc/deps/shared_types/v1_20_50/item/ProjectileItemComponent.h"
23#include "mc/deps/shared_types/v1_20_50/item/RecordItemComponent.h"
24#include "mc/deps/shared_types/v1_20_50/item/RepairableItemComponent.h"
25#include "mc/deps/shared_types/v1_20_50/item/ShooterItemComponent.h"
26#include "mc/deps/shared_types/v1_20_50/item/ShouldDespawnItemComponent.h"
27#include "mc/deps/shared_types/v1_20_50/item/StackedByDataItemComponent.h"
28#include "mc/deps/shared_types/v1_20_50/item/TagsItemComponent.h"
29#include "mc/deps/shared_types/v1_20_50/item/ThrowableItemComponent.h"
30#include "mc/deps/shared_types/v1_20_50/item/UseAnimationItemComponent.h"
31#include "mc/deps/shared_types/v1_20_50/item/UseModifiersItemComponent.h"
32#include "mc/deps/shared_types/v1_21_10/item/DamageAbsorptionItemComponent.h"
33#include "mc/deps/shared_types/v1_21_10/item/DurabilitySensorItemComponent.h"
34#include "mc/deps/shared_types/v1_21_30/item/BundleInteractionItemComponent.h"
35#include "mc/deps/shared_types/v1_21_30/item/DyeableItemComponent.h"
36#include "mc/deps/shared_types/v1_21_30/item/RarityItemComponent.h"
37#include "mc/deps/shared_types/v1_21_50/item/CompostableItemComponent.h"
38#include "mc/deps/shared_types/v1_21_60/item/CustomComponentsItemComponent.h"
39#include "mc/deps/shared_types/v1_21_60/item/StorageItemComponent.h"
40#include "mc/deps/shared_types/v1_21_60/item/StorageWeightLimitItemComponent.h"
41#include "mc/deps/shared_types/v1_21_60/item/StorageWeightModifierItemComponent.h"
42#include "mc/deps/shared_types/v1_21_80/item/IconItemComponent.h"
43#include "mc/deps/shared_types/v1_21_90/item/FireResistantItemComponent.h"
44#include "mc/deps/shared_types/v1_21_90/item/KineticWeaponItemComponent.h"
45#include "mc/deps/shared_types/v1_21_90/item/PiercingWeaponItemComponent.h"
46#include "mc/deps/shared_types/v1_21_90/item/SwingDurationItemComponent.h"
47#include "mc/deps/shared_types/v1_21_90/item/SwingSoundsItemComponent.h"
48#include "mc/deps/shared_types/v1_21_90/item/WearableItemComponent.h"
49#include "mc/deps/shared_types/v1_26_0/item/DamageItemComponent.h"
50#include "mc/deps/shared_types/v1_26_0/item/PlanterItemComponent.h"
51
52// auto generated forward declare list
53// clang-format off
54namespace cereal { class DynamicValue; }
55namespace cereal { class SerializerContext; }
56namespace cereal { struct ReflectionCtx; }
57// clang-format on
58
59namespace SharedTypes::v1_26_0 {
60
61struct ComponentItemComponentData {
62public:
63 // member variables
64 // NOLINTBEGIN
65 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_20_50::GlintItemComponent>> glintItemComponent;
66 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_20_50::HandEquippedItemComponent>>
67 handEquippedItemComponent;
68 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_20_50::ShouldDespawnItemComponent>>
69 shouldDespawnItemComponent;
70 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_20_50::StackedByDataItemComponent>>
71 stackedByDataItemComponent;
72 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_21_50::CompostableItemComponent>>
73 compostableItemComponent;
74 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_20_50::LiquidClippedItemComponent>>
75 liquidClippedItemComponent;
76 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_20_50::UseAnimationItemComponent>>
77 useAnimationItemComponent;
78 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_20_50::AllowOffHandItemComponent>>
79 allowOffHandItemComponent;
80 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::v1_21_30::BundleInteractionItemComponent>>
81 bundleInteractionItemComponent;
82 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_20_50::CanDestroyInCreativeItemComponent>>
83 canDestroyInCreativeItemComponent;
84 ::ll::TypedStorage<8, 48, ::std::optional<::SharedTypes::v1_20_50::CooldownItemComponent>> cooldownItemComponent;
85 ::ll::TypedStorage<8, 32, ::std::optional<::SharedTypes::v1_21_10::DamageAbsorptionItemComponent>>
86 damageAbsorptionItemComponent;
87 ::ll::TypedStorage<8, 40, ::std::optional<::SharedTypes::v1_20_50::DiggerItemComponent>> diggerItemComponent;
88 ::ll::TypedStorage<8, 40, ::std::optional<::SharedTypes::v1_20_50::DisplayNameItemComponent>>
89 displayNameItemComponent;
90 ::ll::TypedStorage<4, 16, ::std::optional<::SharedTypes::v1_20_50::DurabilityItemComponent>>
91 durabilityItemComponent;
92 ::ll::TypedStorage<8, 32, ::std::optional<::SharedTypes::v1_21_10::DurabilitySensorItemComponent>>
93 durabilitySensorItemComponent;
94 ::ll::TypedStorage<4, 20, ::std::optional<::SharedTypes::v1_21_30::DyeableItemComponent>> dyeableItemComponent;
95 ::ll::TypedStorage<2, 4, ::std::optional<::SharedTypes::v1_26_0::DamageItemComponent>> damageItemComponent;
96 ::ll::TypedStorage<8, 48, ::std::optional<::SharedTypes::v1_20_50::EnchantableItemComponent>>
97 enchantableItemComponent;
98 ::ll::TypedStorage<8, 88, ::std::optional<::SharedTypes::v1_20_50::EntityPlacerItemComponent>>
99 entityPlacerItemComponent;
100 ::ll::TypedStorage<8, 48, ::std::optional<::SharedTypes::v1_20_50::FoodItemComponent>> foodItemComponent;
101 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::v1_20_50::FuelItemComponent>> fuelItemComponent;
102 ::ll::TypedStorage<8, 40, ::std::optional<::SharedTypes::v1_20_50::HoverTextColorItemComponent>>
103 hoverTextColorItemComponent;
104 ::ll::TypedStorage<8, 72, ::std::optional<::SharedTypes::v1_21_80::IconItemComponent>> iconItemComponent;
105 ::ll::TypedStorage<8, 48, ::std::optional<::SharedTypes::v1_20_50::InteractButtonItemComponent>>
106 interactButtonItemComponent;
107 ::ll::TypedStorage<4, 88, ::std::optional<::SharedTypes::v1_21_90::KineticWeaponItemComponent>>
108 kineticWeaponItemComponent;
109 ::ll::TypedStorage<2, 4, ::std::optional<::SharedTypes::v1_20_50::MaxStackSizeItemComponent>>
110 maxStackSizeItemComponent;
111 ::ll::TypedStorage<4, 28, ::std::optional<::SharedTypes::v1_21_90::PiercingWeaponItemComponent>>
112 piercingWeaponItemComponent;
113 ::ll::TypedStorage<8, 72, ::std::optional<::SharedTypes::v1_26_0::PlanterItemComponent>> planterItemComponent;
114 ::ll::TypedStorage<8, 48, ::std::optional<::SharedTypes::v1_20_50::ProjectileItemComponent>>
115 projectileItemComponent;
116 ::ll::TypedStorage<8, 40, ::std::optional<::SharedTypes::v1_21_30::RarityItemComponent>> rarityItemComponent;
117 ::ll::TypedStorage<4, 16, ::std::optional<::SharedTypes::v1_20_50::RecordItemComponent>> recordItemComponent;
118 ::ll::TypedStorage<8, 32, ::std::optional<::SharedTypes::v1_20_50::RepairableItemComponent>>
119 repairableItemComponent;
120 ::ll::TypedStorage<8, 40, ::std::optional<::SharedTypes::v1_20_50::ShooterItemComponent>> shooterItemComponent;
121 ::ll::TypedStorage<8, 64, ::std::optional<::SharedTypes::v1_21_60::StorageItemComponent>> storageItemComponent;
122 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::v1_21_60::StorageWeightLimitItemComponent>>
123 storageWeightLimitItemComponent;
124 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::v1_21_60::StorageWeightModifierItemComponent>>
125 storageWeightModifierItemComponent;
126 ::ll::TypedStorage<8, 32, ::std::optional<::SharedTypes::v1_20_50::TagsItemComponent>> tagsItemComponent;
127 ::ll::TypedStorage<4, 24, ::std::optional<::SharedTypes::v1_20_50::ThrowableItemComponent>> throwableItemComponent;
128 ::ll::TypedStorage<4, 28, ::std::optional<::SharedTypes::v1_20_50::UseModifiersItemComponent>>
129 useModifiersItemComponent;
130 ::ll::TypedStorage<4, 16, ::std::optional<::SharedTypes::v1_21_90::WearableItemComponent>> wearableItemComponent;
131 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_21_90::FireResistantItemComponent>>
132 fireResistantItemComponent;
133 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::v1_21_90::SwingDurationItemComponent>>
134 swingDurationItemComponent;
135 ::ll::TypedStorage<4, 28, ::std::optional<::SharedTypes::v1_21_90::SwingSoundsItemComponent>>
136 swingSoundsItemComponent;
137 ::ll::TypedStorage<8, 40, ::std::optional<::SharedTypes::v1_21_60::CustomComponentsItemComponent>>
138 customComponentsItemComponent;
139 // NOLINTEND
140
141public:
142 // member functions
143 // NOLINTBEGIN
144 MCAPI ComponentItemComponentData();
145
146 MCAPI ComponentItemComponentData(::SharedTypes::v1_26_0::ComponentItemComponentData&&);
147
148 MCAPI ComponentItemComponentData(::SharedTypes::v1_26_0::ComponentItemComponentData const&);
149
150 MCFOLD ::std::shared_ptr<::cereal::DynamicValue>
151 getCustomComponent(::cereal::SerializerContext const& context) const;
152
153 MCAPI ::SharedTypes::v1_26_0::ComponentItemComponentData&
155
156 MCAPI ::SharedTypes::v1_26_0::ComponentItemComponentData&
158
159 MCFOLD void
160 setCustomComponent(::std::shared_ptr<::cereal::DynamicValue> data, ::cereal::SerializerContext const& context);
161
162 MCAPI ~ComponentItemComponentData();
163 // NOLINTEND
164
165public:
166 // static functions
167 // NOLINTBEGIN
168 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
169 // NOLINTEND
170
171public:
172 // constructor thunks
173 // NOLINTBEGIN
174 MCFOLD void* $ctor();
175
177
179 // NOLINTEND
180
181public:
182 // destructor thunk
183 // NOLINTBEGIN
184 MCFOLD void $dtor();
185 // NOLINTEND
186};
187
188} // namespace SharedTypes::v1_26_0
Definition DynamicValue.h:12
Definition SerializerContext.h:17
Definition ComponentItemComponentData.h:61
Definition ReflectionCtx.h:11
Definition context.h:5
Definition ctx.h:5