LeviLamina
Loading...
Searching...
No Matches
BlockComponentGroupDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class HashedString;
9namespace cereal { class DynamicValue; }
10namespace cereal { class SerializerContext; }
11// clang-format on
12
13struct BlockComponentGroupDescription {
14public:
15 // BlockComponentGroupDescription inner types declare
16 // clang-format off
17 struct Components;
18 // clang-format on
19
20 // BlockComponentGroupDescription inner types define
21 struct Components {
22 public:
23 // Components inner types define
24 using CerealDefaultValueOptOut = void;
25
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::shared_ptr<::BlockComponentDescription>>>
30 mMap;
31 // NOLINTEND
32
33 public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI void _setCustomComponent(
37 ::std::string_view compName,
38 ::std::shared_ptr<::cereal::DynamicValue> const& compData,
39 bool overridePlayerInteract,
40 bool overridePlayerPlacing
41 );
42
43 MCAPI ::std::shared_ptr<::cereal::DynamicValue>
44 getCustomComponent(::cereal::SerializerContext const& context) const;
45
46 MCAPI ~Components();
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCFOLD void $dtor();
53 // NOLINTEND
54 };
55
56public:
57 // member variables
58 // NOLINTBEGIN
59 ::ll::TypedStorage<8, 64, ::BlockComponentGroupDescription::Components> mCerealDescriptions;
60 ::ll::TypedStorage<8, 24, ::std::vector<::HashedString>> mTags;
61 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::BlockComponentDescription>>> mDescriptions;
62 // NOLINTEND
63
64public:
65 LLNDAPI BlockComponentDescription* getComponentDescription(::std::string const& name) const;
66
67public:
68 // prevent constructor by default
69 BlockComponentGroupDescription(BlockComponentGroupDescription const&);
70 BlockComponentGroupDescription();
71
72public:
73 // member functions
74 // NOLINTBEGIN
75 MCAPI ::BlockComponentGroupDescription& operator=(::BlockComponentGroupDescription const&);
76
77 MCAPI ~BlockComponentGroupDescription();
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCAPI void $dtor();
84 // NOLINTEND
85};
Definition HashedString.h:5
Definition DynamicValue.h:14
Definition SerializerContext.h:17
Definition BlockComponentDescription.h:20
Definition BlockComponentGroupDescription.h:21
Definition context.h:5