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 // member functions
30 // NOLINTBEGIN
31 MCAPI ~Effect();
32 // NOLINTEND
33
34 public:
35 // destructor thunk
36 // NOLINTBEGIN
37 MCFOLD void $dtor();
38 // NOLINTEND
39 };
40
41public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 16, ::ItemDescriptor> mItemDescriptor;
45 ::ll::TypedStorage<8, 16, ::ItemDescriptor> mResultItem;
46 ::ll::TypedStorage<4, 4, int> mValue;
47 ::ll::TypedStorage<8, 24, ::std::vector<::FeedItem::Effect>> mEffects;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI void addEffect(::FeedItem::Effect const& effect);
54
55 MCAPI ~FeedItem();
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63};
Definition FeedItem.h:17
Definition FeedItem.h:9