LeviLamina
Loading...
Searching...
No Matches
CustomComponentsItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ComponentStorageIterator.h"
7#include "mc/platform/brstd/associative_adapter.h"
8#include "mc/world/item/components/ItemComponent.h"
9#include "mc/world/item/components/ItemCustomComponentData.h"
10
11// auto generated forward declare list
12// clang-format off
13class HashedString;
14namespace SharedTypes::v1_21_60 { struct CustomComponentsItemComponent; }
15namespace SharedTypes::v1_26_30 { struct ItemCustomComponent; }
16namespace cereal { class DynamicValue; }
17namespace cereal { struct ComponentStorageSentinelType; }
18// clang-format on
19
20class CustomComponentsItemComponent : public ::ItemComponent {
21public:
22 // CustomComponentsItemComponent inner types define
23 using LegacyCustomComponents = ::SharedTypes::v1_21_60::CustomComponentsItemComponent;
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 24, ::std::vector<::ItemCustomComponentData>> mComponents;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 CustomComponentsItemComponent();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI explicit CustomComponentsItemComponent(
40 );
41
42 MCAPI explicit CustomComponentsItemComponent(
43 ::entt::iterable_adaptor<
46 ::std::string,
47 ::entt::meta_any,
48 ::std::less<void>,
49 ::std::vector<::std::string>,
50 ::std::vector<::entt::meta_any>>::
51 iterator_impl<
52 ::std::_Vector_iterator<::std::_Vector_val<::std::_Simple_types<::std::string>>>,
53 ::std::_Vector_iterator<::std::_Vector_val<::std::_Simple_types<::entt::meta_any>>>,
54 ::std::pair<::std::string const&, ::entt::meta_any&>>,
56 ::cereal::ComponentStorageSentinelType> customComponentsData
57 );
58
59 MCAPI void _addComponent(::HashedString compName, ::cereal::DynamicValue data);
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::SharedTypes::v1_21_60::CustomComponentsItemComponent const& component);
66
67 MCAPI void* $ctor(
68 ::entt::iterable_adaptor<
71 ::std::string,
72 ::entt::meta_any,
73 ::std::less<void>,
74 ::std::vector<::std::string>,
75 ::std::vector<::entt::meta_any>>::
76 iterator_impl<
77 ::std::_Vector_iterator<::std::_Vector_val<::std::_Simple_types<::std::string>>>,
78 ::std::_Vector_iterator<::std::_Vector_val<::std::_Simple_types<::entt::meta_any>>>,
79 ::std::pair<::std::string const&, ::entt::meta_any&>>,
81 ::cereal::ComponentStorageSentinelType> customComponentsData
82 );
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition ItemComponent.h:16
Definition associative_adapter.h:18
Definition DynamicValue.h:14
Definition ComponentStorageIterator.h:18
Definition CustomComponentsItemComponent.h:16
Definition ItemCustomComponent.h:10
Definition ComponentStorageSentinelType.h:7