Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HealableComponentDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/item/ItemDescriptor.h"
7#include "mc/deps/shared_types/v1_21_20/filter_groups/FilterGroupData.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cereal { struct ReflectionCtx; }
12// clang-format on
13
14namespace SharedTypes::v1_26_60 {
15
16struct HealableComponentDefinition {
17public:
18 // HealableComponentDefinition inner types declare
19 // clang-format off
20 struct Effect;
21 struct FeedItem;
22 // clang-format on
23
24 // HealableComponentDefinition inner types define
25 struct Effect {
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 32, ::std::string> mName;
30 ::ll::TypedStorage<8, 40, ::std::variant<float, ::std::string>> mDuration;
31 ::ll::TypedStorage<4, 4, int> mAmplifier;
32 ::ll::TypedStorage<4, 4, float> mChance;
33 // NOLINTEND
34
35 public:
36 // member functions
37 // NOLINTBEGIN
39
40 MCNAPI ~Effect();
41 // NOLINTEND
42
43 public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCNAPI void $dtor();
47 // NOLINTEND
48 };
49
50 struct FeedItem {
51 public:
52 // member variables
53 // NOLINTBEGIN
54 ::ll::TypedStorage<8, 24, ::SharedTypes::Legacy::ItemDescriptor> mItemDescriptor;
55 ::ll::TypedStorage<8, 24, ::SharedTypes::Legacy::ItemDescriptor> mResultItem;
56 ::ll::TypedStorage<4, 4, int> mHealAmount;
57 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_60::HealableComponentDefinition::Effect>> mEffects;
58 // NOLINTEND
59
60 public:
61 // prevent constructor by default
62 FeedItem(FeedItem const&);
63 FeedItem();
64
65 public:
66 // member functions
67 // NOLINTBEGIN
68 MCNAPI ::SharedTypes::v1_26_60::HealableComponentDefinition::FeedItem&
70
72
73 MCNAPI ~FeedItem();
74 // NOLINTEND
75
76 public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCNAPI void $dtor();
80 // NOLINTEND
81 };
82
83public:
84 // member variables
85 // NOLINTBEGIN
86 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_60::HealableComponentDefinition::FeedItem>> mHealItems;
87 ::ll::TypedStorage<1, 1, bool> mForceUse;
88 ::ll::TypedStorage<8, 232, ::SharedTypes::v1_21_20::FilterGroupData> mFilter;
89 // NOLINTEND
90
91public:
92 // prevent constructor by default
93 HealableComponentDefinition& operator=(HealableComponentDefinition const&);
94 HealableComponentDefinition();
95
96public:
97 // member functions
98 // NOLINTBEGIN
100
102
104 // NOLINTEND
105
106public:
107 // static functions
108 // NOLINTBEGIN
110 // NOLINTEND
111
112public:
113 // static variables
114 // NOLINTBEGIN
115 MCNAPI static ::std::string_view const& NAME();
116 // NOLINTEND
117
118public:
119 // constructor thunks
120 // NOLINTBEGIN
122 // NOLINTEND
123
124public:
125 // destructor thunk
126 // NOLINTBEGIN
127 MCNAPI void $dtor();
128 // NOLINTEND
129};
130
131} // namespace SharedTypes::v1_26_60
Definition HealableComponentDefinition.h:25
MCAPI bool operator==(::SharedTypes::v1_26_60::HealableComponentDefinition::Effect const &) const
Definition HealableComponentDefinition.h:50
MCAPI::SharedTypes::v1_26_60::HealableComponentDefinition::FeedItem & operator=(::SharedTypes::v1_26_60::HealableComponentDefinition::FeedItem const &)
MCAPI bool operator==(::SharedTypes::v1_26_60::HealableComponentDefinition::FeedItem const &) const
Definition HealableComponentDefinition.h:16
MCAPI bool operator==(::SharedTypes::v1_26_60::HealableComponentDefinition const &) const
static MCAPI ::std::string_view const & NAME()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI void * $ctor(::SharedTypes::v1_26_60::HealableComponentDefinition const &)
MCAPI HealableComponentDefinition(::SharedTypes::v1_26_60::HealableComponentDefinition const &)
Definition ReflectionCtx.h:11
Definition ctx.h:5