Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
InteractComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/EquipmentSlot.h"
7#include "mc/world/item/HandSlot.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Interaction;
14class Player;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<2, 2, short> mCooldownCounter;
22 ::ll::TypedStorage<8, 24, ::std::vector<::InteractionDescription>> mInteractions;
23 // NOLINTEND
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCNAPI ::Interaction
29 _runInteraction(::Actor& owner, ::InteractionDescription const& desc, ::Player& player, ::HandSlot handSlot);
30
31 MCNAPI ::Interaction getInteraction(::Actor& owner, ::Player& player, ::HandSlot handSlot);
32 // NOLINTEND
33
34public:
35 // static functions
36 // NOLINTBEGIN
37 MCNAPI static void _trySendEquipmentSlot(::Actor& owner, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot);
38 // NOLINTEND
39};
Definition Actor.h:116
Definition InteractComponent.h:17
MCAPI::Interaction getInteraction(::Actor &owner, ::Player &player, ::HandSlot handSlot)
static MCAPI void _trySendEquipmentSlot(::Actor &owner, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot)
MCAPI::Interaction _runInteraction(::Actor &owner, ::InteractionDescription const &desc, ::Player &player, ::HandSlot handSlot)
Definition InteractionDescription.h:20
Definition Interaction.h:9
Definition Player.h:131