22 ::ll::TypedStorage<4, 4, int> mRequiresCooldown;
23 ::ll::TypedStorage<4, 4, int> mCooldownAfterBeingAttacked;
24 ::ll::TypedStorage<1, 1, bool> mSwing;
25 ::ll::TypedStorage<1, 1, bool> mUseItem;
26 ::ll::TypedStorage<1, 1, bool> mBarter;
27 ::ll::TypedStorage<1, 1, bool> mAdmire;
28 ::ll::TypedStorage<1, 1, bool> mGiveItem;
29 ::ll::TypedStorage<1, 1, bool> mTakeItem;
30 ::ll::TypedStorage<4, 4, int> mHurtItem;
31 ::ll::TypedStorage<4, 4, int> mAdjustHealthAmount;
32 ::ll::TypedStorage<4, 12, ::std::optional<::ItemSlotInfo>> mEquipItemSlot;
33 ::ll::TypedStorage<4, 12, ::std::optional<::ItemSlotInfo>> mDropItemSlot;
34 ::ll::TypedStorage<4, 12, ::std::optional<::ItemSlotInfo>> mRepairItemSlot;
35 ::ll::TypedStorage<4, 4, int> mRepairItemAmount;
36 ::ll::TypedStorage<4, 8, ::ItemDefinition> mTransformItem;
37 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
38 ::ll::TypedStorage<8, 32, ::std::string> mAddItemsTable;
39 ::ll::TypedStorage<8, 32, ::std::string> mSpawnItemsTable;
40 ::ll::TypedStorage<4, 12, ::InteractionParticle> mParticleData;
41 ::ll::TypedStorage<4, 4, float> mDropItemYOffset;
42 ::ll::TypedStorage<4, 4, float> mSpawnItemsYOffset;
43 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::LevelSoundEvent>> mPlaySounds;
44 ::ll::TypedStorage<8, 24, ::std::vector<::ActorDefinitionIdentifier>> mSpawnEntities;
45 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnInteraction;
46 ::ll::TypedStorage<8, 8, ::GameEvent const*> mVibration;
51 Interaction& operator=(Interaction
const&);
58 MCAPI Interaction(::Interaction&&);
60 MCAPI Interaction(::Interaction
const&);
62 MCAPI
void addActorDefinitionIdentifierByName(::std::string
const& name);
64 MCAPI
void addLevelSoundEventByName(::std::string
const& name);
66 MCAPI
void setCooldown(
float const& seconds);
68 MCAPI
void setCooldownAfterBeingAttacked(
float const& seconds);
70 MCAPI
void setDropItemSlot(::std::string
const& slot);
72 MCAPI
void setEquipItemSlot(::std::string
const& slot);
74 MCAPI
void setRepairItemAmount(
int const& amount);
76 MCAPI
void setRepairItemSlot(::std::string
const& slot);
78 MCAPI
void setTransformItem(::std::string
const& name);
80 MCAPI
void setVibrationByName(::std::string
const& name);
88 MCAPI static ::std::optional<::ItemSlotInfo> _tryConvertStringToItemSlotInfo(::std::string
const&
string);
96 MCAPI
void* $ctor(::Interaction&&);
98 MCAPI
void* $ctor(::Interaction
const&);