LeviLamina
Loading...
Searching...
No Matches
ShareItemsGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/goal/Goal.h"
7#include "mc/world/item/ItemStack.h"
8
9// auto generated forward declare list
10// clang-format off
11class Mob;
12class Path;
13struct MobDescriptor;
14// clang-format on
15
16class ShareItemsGoal : public ::Goal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
21 ::ll::TypedStorage<4, 4, int> mThrowCountdown;
22 ::ll::TypedStorage<4, 4, int> mSearchRange;
23 ::ll::TypedStorage<4, 4, float> mSpeedModifier;
24 ::ll::TypedStorage<4, 4, float> mGoalRadiusSq;
25 ::ll::TypedStorage<4, 4, int> mTimeToRecalcPath;
26 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor>> mMobFilters;
27 ::ll::TypedStorage<8, 152, ::ItemStack> mItemToShare;
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Path>> mPath;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 ShareItemsGoal& operator=(ShareItemsGoal const&);
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 1
41 virtual bool canUse() /*override*/;
42
43 // vIndex: 2
44 virtual bool canContinueToUse() /*override*/;
45
46 // vIndex: 4
47 virtual void start() /*override*/;
48
49 // vIndex: 5
50 virtual void stop() /*override*/;
51
52 // vIndex: 6
53 virtual void tick() /*override*/;
54
55 // vIndex: 7
56 virtual void appendDebugInfo(::std::string& str) const /*override*/;
57
58 // vIndex: 0
59 virtual ~ShareItemsGoal() /*override*/;
60 // NOLINTEND
61
62public:
63 // member functions
64 // NOLINTBEGIN
65 MCNAPI ::std::pair<int, ::ItemStack>
66 selectEntityToShareWith(::std::vector<::std::pair<int, ::ItemStack>> const& shareableItems);
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCNAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCNAPI bool $canUse();
79
80 MCNAPI bool $canContinueToUse();
81
82 MCNAPI void $start();
83
84 MCNAPI void $stop();
85
86 MCNAPI void $tick();
87
88 MCNAPI void $appendDebugInfo(::std::string& str) const;
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
Definition Goal.h:14
Definition Mob.h:47
Definition Path.h:16
Definition ShareItemsGoal.h:16
MCAPI bool $canContinueToUse()
MCAPI void $stop()
MCAPI ::std::pair< int, ::ItemStack > selectEntityToShareWith(::std::vector<::std::pair< int, ::ItemStack > > const &shareableItems)
static MCAPI void ** $vftable()
MCAPI void $start()
MCAPI void $tick()
MCAPI bool $canUse()
MCAPI void $dtor()
MCAPI void $appendDebugInfo(::std::string &str) const
Definition MobDescriptor.h:5