LeviLamina
Loading...
Searching...
No Matches
FeedItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/effect/EffectDuration.h"
7#include "mc/world/item/ItemDescriptor.h"
8
9struct FeedItem {
10public:
11 // FeedItem inner types declare
12 // clang-format off
13 struct Effect;
14 // clang-format on
15
16 // FeedItem inner types define
17 struct Effect {
18 public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> descriptionId;
22 ::ll::TypedStorage<4, 4, int> id;
23 ::ll::TypedStorage<4, 4, ::EffectDuration> duration;
24 ::ll::TypedStorage<4, 4, int> amplifier;
25 ::ll::TypedStorage<4, 4, float> chance;
26 // NOLINTEND
27
28 public:
29 // prevent constructor by default
30 Effect(Effect const&);
31 Effect();
32
33 public:
34 // member functions
35 // NOLINTBEGIN
36 MCFOLD ::FeedItem::Effect& operator=(::FeedItem::Effect&&);
37
38 MCFOLD ::FeedItem::Effect& operator=(::FeedItem::Effect const&);
39
40 MCAPI ~Effect();
41 // NOLINTEND
42
43 public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCFOLD void $dtor();
47 // NOLINTEND
48 };
49
50public:
51 // member variables
52 // NOLINTBEGIN
53 ::ll::TypedStorage<8, 16, ::ItemDescriptor> mItemDescriptor;
54 ::ll::TypedStorage<8, 16, ::ItemDescriptor> mResultItem;
55 ::ll::TypedStorage<4, 4, int> mValue;
56 ::ll::TypedStorage<8, 24, ::std::vector<::FeedItem::Effect>> mEffects;
57 // NOLINTEND
58
59public:
60 // prevent constructor by default
61 FeedItem();
62
63public:
64 // member functions
65 // NOLINTBEGIN
66 MCAPI FeedItem(::FeedItem const&);
67
68 MCAPI void addEffect(::FeedItem::Effect const& effect);
69
70 MCAPI ::FeedItem& operator=(::FeedItem&&);
71
72 MCAPI ::FeedItem& operator=(::FeedItem const&);
73
74 MCAPI ~FeedItem();
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCAPI void* $ctor(::FeedItem const&);
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88};
Definition FeedItem.h:17