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