Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
InteractionData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/comprehensive/ParticleType.h"
7#include "mc/deps/shared_types/util/FileReference.h"
8#include "mc/deps/shared_types/util/Reference.h"
9#include "mc/deps/shared_types/v1_21_120/actor/ActorDefinitionTrigger.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
16namespace SharedTypes::v1_26_50 {
17
19public:
20 // InteractionData inner types declare
21 // clang-format off
22 struct AddItemsData;
23 struct ParticleData;
25 struct SpawnItemsData;
26 // clang-format on
27
28 // InteractionData inner types define
29 enum class VibrationType : uint {
30 None = 0,
31 EntityAct = 1,
32 EntityDie = 2,
33 EntityInteract = 3,
34 Shear = 4,
35 };
36
37 struct AddItemsData {
38 public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::TypedStorage<8, 32, ::SharedTypes::FileReference<17>> mTable;
42 // NOLINTEND
43
44 public:
45 // member functions
46 // NOLINTBEGIN
48
49 MCNAPI ~AddItemsData();
50 // NOLINTEND
51
52 public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCNAPI void $dtor();
56 // NOLINTEND
57 };
58
59 struct ParticleData {
60 public:
61 // ParticleData inner types define
62 enum class CopperEventType : uint {
63 None = 0,
64 WaxOn = 1,
65 WaxOff = 2,
66 Scrape = 3,
67 };
68
69 public:
70 // member variables
71 // NOLINTBEGIN
72 ::ll::TypedStorage<4, 4, ::ParticleType> mOnStartType;
73 ::ll::TypedStorage<4, 4, float> mOffsetY;
74 ::ll::TypedStorage<1, 1, bool> mOffsetTowardsInteractor;
75 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_26_50::InteractionData::ParticleData::CopperEventType> mCopperEvent;
76 // NOLINTEND
77
78 public:
79 // member functions
80 // NOLINTBEGIN
81 MCNAPI void setCopperEventType(::std::string const& name);
82
83 MCNAPI void setParticleType(::std::string const& name);
84 // NOLINTEND
85 };
86
88 public:
89 // member variables
90 // NOLINTBEGIN
91 ::ll::TypedStorage<4, 4, int> mRepairAmount;
92 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mSlot;
93 // NOLINTEND
94
95 public:
96 // member functions
97 // NOLINTBEGIN
99
100 MCNAPI void setRepairItemAmount(int const& amount);
101
103 // NOLINTEND
104
105 public:
106 // static variables
107 // NOLINTBEGIN
108 MCNAPI static ::std::string const& SLOT_DESCRIPTION();
109 // NOLINTEND
110
111 public:
112 // destructor thunk
113 // NOLINTBEGIN
114 MCNAPI void $dtor();
115 // NOLINTEND
116 };
117
119 public:
120 // member variables
121 // NOLINTBEGIN
122 ::ll::TypedStorage<8, 32, ::SharedTypes::FileReference<17>> mTable;
123 ::ll::TypedStorage<4, 4, float> mYOffset;
124 // NOLINTEND
125
126 public:
127 // member functions
128 // NOLINTBEGIN
130
132 // NOLINTEND
133
134 public:
135 // destructor thunk
136 // NOLINTBEGIN
137 MCNAPI void $dtor();
138 // NOLINTEND
139 };
140
141public:
142 // member variables
143 // NOLINTBEGIN
144 ::ll::TypedStorage<4, 4, float> mRequiresCooldown;
145 ::ll::TypedStorage<4, 4, float> mCooldownAfterBeingAttacked;
146 ::ll::TypedStorage<1, 1, bool> mSwing;
147 ::ll::TypedStorage<1, 1, bool> mUseItem;
148 ::ll::TypedStorage<1, 1, bool> mBarter;
149 ::ll::TypedStorage<1, 1, bool> mAdmire;
150 ::ll::TypedStorage<1, 1, bool> mGiveItem;
151 ::ll::TypedStorage<1, 1, bool> mTakeItem;
152 ::ll::TypedStorage<4, 4, int> mHurtItem;
153 ::ll::TypedStorage<4, 4, int> mAdjustHealthAmount;
154 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mEquipItemSlot;
155 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mDropItemSlot;
156 ::ll::TypedStorage<8, 32, ::SharedTypes::Reference<10>> mTransformItem;
157 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
158 ::ll::TypedStorage<8, 32, ::SharedTypes::v1_26_50::InteractionData::AddItemsData> mAddItems;
159 ::ll::TypedStorage<8, 40, ::SharedTypes::v1_26_50::InteractionData::SpawnItemsData> mSpawnItems;
160 ::ll::TypedStorage<8, 48, ::SharedTypes::v1_26_50::InteractionData::RepairEntityItemData> mRepairEntityItem;
161 ::ll::TypedStorage<4, 16, ::SharedTypes::v1_26_50::InteractionData::ParticleData> mParticleOnStart;
162 ::ll::TypedStorage<4, 4, float> mDropItemYOffset;
163 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mPlaySounds;
164 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Reference<1>>> mSpawnEntities;
165 ::ll::TypedStorage<8, 272, ::SharedTypes::v1_21_120::ActorDefinitionTrigger> mOnInteraction;
166 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_26_50::InteractionData::VibrationType> mVibration;
167 // NOLINTEND
168
169public:
170 // member functions
171 // NOLINTBEGIN
173
175
176 MCNAPI void addActorDefinitionIdentifier(::std::string const& name);
177
178 MCNAPI void addLevelSoundEvent(::std::string const& name);
179
180 MCNAPI ::SharedTypes::v1_26_50::InteractionData& operator=(::SharedTypes::v1_26_50::InteractionData const&);
181
183
184 MCNAPI void setVibrationType(::std::string const& name);
185
187 // NOLINTEND
188
189public:
190 // static functions
191 // NOLINTBEGIN
193
195
196 MCNAPI static ::std::string
197 vibrationNameFromType(::SharedTypes::v1_26_50::InteractionData::VibrationType const& type);
198 // NOLINTEND
199
200public:
201 // static variables
202 // NOLINTBEGIN
203 MCNAPI static ::std::string const& DROP_ITEM_SLOT_DESCRIPTION();
204
205 MCNAPI static ::std::string const& EQUIP_ITEM_SLOT_DESCRIPTION();
206 // NOLINTEND
207
208public:
209 // constructor thunks
210 // NOLINTBEGIN
211 MCNAPI void* $ctor();
212
214 // NOLINTEND
215
216public:
217 // destructor thunk
218 // NOLINTBEGIN
219 MCNAPI void $dtor();
220 // NOLINTEND
221};
222
223} // namespace SharedTypes::v1_26_50
MCAPI bool operator==(::SharedTypes::v1_26_50::InteractionData::AddItemsData const &) const
MCAPI void setCopperEventType(::std::string const &name)
MCAPI void setParticleType(::std::string const &name)
MCAPI bool operator==(::SharedTypes::v1_26_50::InteractionData::RepairEntityItemData const &) const
static MCAPI ::std::string const & SLOT_DESCRIPTION()
MCAPI bool operator==(::SharedTypes::v1_26_50::InteractionData::SpawnItemsData const &) const
Definition InteractionData.h:18
MCAPI InteractionData(::SharedTypes::v1_26_50::InteractionData const &)
static MCAPI void bindVibrationTypeEnum(::cereal::ReflectionCtx &ctx)
static MCAPI ::std::string const & DROP_ITEM_SLOT_DESCRIPTION()
MCAPI bool operator==(::SharedTypes::v1_26_50::InteractionData const &) const
MCAPI void setVibrationType(::std::string const &name)
MCAPI void addActorDefinitionIdentifier(::std::string const &name)
static MCAPI ::std::string const & EQUIP_ITEM_SLOT_DESCRIPTION()
MCAPI::SharedTypes::v1_26_50::InteractionData & operator=(::SharedTypes::v1_26_50::InteractionData const &)
static MCAPI ::std::string vibrationNameFromType(::SharedTypes::v1_26_50::InteractionData::VibrationType const &type)
MCAPI void addLevelSoundEvent(::std::string const &name)
MCAPI void * $ctor(::SharedTypes::v1_26_50::InteractionData const &)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5