LeviLamina
Loading...
Searching...
No Matches
AdmireItemGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8
9// auto generated forward declare list
10// clang-format off
13class ItemStack;
14class Mob;
16class WeakEntityRef;
17struct FloatRange;
18struct Tick;
19// clang-format on
20
21class AdmireItemGoal : public ::Goal {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
26 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSoundEvent;
27 ::ll::TypedStorage<4, 8, ::FloatRange> mSoundIntervalRange;
28 ::ll::TypedStorage<8, 8, ::Tick> mNextSoundEventTick;
29 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger const> mOnStartEvent;
30 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger const> mOnStopEvent;
31 ::ll::TypedStorage<8, 152, ::ItemStack> mItemStackPicked;
32 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mItemOwner;
33 // NOLINTEND
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 1
39 virtual bool canUse() /*override*/;
40
41 // vIndex: 2
42 virtual bool canContinueToUse() /*override*/;
43
44 // vIndex: 4
45 virtual void start() /*override*/;
46
47 // vIndex: 5
48 virtual void stop() /*override*/;
49
50 // vIndex: 6
51 virtual void tick() /*override*/;
52
53 // vIndex: 7
54 virtual void appendDebugInfo(::std::string& str) const /*override*/;
55
56 // vIndex: 0
57 virtual ~AdmireItemGoal() /*override*/;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI AdmireItemGoal(
64 ::Mob& mob,
65 ::SharedTypes::Legacy::LevelSoundEvent sound,
66 ::FloatRange soundIntervalRange,
67 ::ActorDefinitionTrigger const& onAdmireItemStart,
68 ::ActorDefinitionTrigger const& onAdmireItemStop
69 );
70
71 MCAPI void _removeItemFromOffhandSlot() const;
72
73 MCAPI void
74 _tryPlaceItemInInventory(::ContainerComponent& containerComponent, ::ShareableComponent const& shareableComponent);
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCAPI void* $ctor(
81 ::Mob& mob,
82 ::SharedTypes::Legacy::LevelSoundEvent sound,
83 ::FloatRange soundIntervalRange,
84 ::ActorDefinitionTrigger const& onAdmireItemStart,
85 ::ActorDefinitionTrigger const& onAdmireItemStop
86 );
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCAPI bool $canUse();
99
100 MCFOLD bool $canContinueToUse();
101
102 MCAPI void $start();
103
104 MCAPI void $stop();
105
106 MCAPI void $tick();
107
108 MCAPI void $appendDebugInfo(::std::string& str) const;
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCAPI static void** $vftable();
115 // NOLINTEND
116};
Definition ActorDefinitionTrigger.h:5
Definition AdmireItemGoal.h:21
Definition ContainerComponent.h:27
Definition Goal.h:14
Definition ItemStack.h:25
Definition Mob.h:47
Definition ShareableComponent.h:13
Definition WeakEntityRef.h:14
Definition FloatRange.h:11
Definition Tick.h:5