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& operator=(Effect const&);
31 Effect(Effect const&);
32 Effect();
33
34 public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI ::FeedItem::Effect& operator=(::FeedItem::Effect&&);
38
39 MCAPI ~Effect();
40 // NOLINTEND
41
42 public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCFOLD void $dtor();
46 // NOLINTEND
47 };
48
49public:
50 // member variables
51 // NOLINTBEGIN
52 ::ll::TypedStorage<8, 16, ::ItemDescriptor> mItemDescriptor;
53 ::ll::TypedStorage<4, 4, int> mValue;
54 ::ll::TypedStorage<8, 24, ::std::vector<::FeedItem::Effect>> mEffects;
55 // NOLINTEND
56
57public:
58 // prevent constructor by default
59 FeedItem();
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI FeedItem(::FeedItem const&);
65
66 MCAPI void addEffect(::FeedItem::Effect const& effect);
67
68 MCAPI ::FeedItem& operator=(::FeedItem const&);
69
70 MCAPI ::FeedItem& operator=(::FeedItem&&);
71
72 MCAPI ~FeedItem();
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCAPI void* $ctor(::FeedItem const&);
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86};
Definition FeedItem.h:17
Definition FeedItem.h:9