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