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
8// auto generated forward declare list
9// clang-format off
10class ItemStack;
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 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 1
35 virtual bool canUse() /*override*/;
36
37 // vIndex: 2
38 virtual bool canContinueToUse() /*override*/;
39
40 // vIndex: 4
41 virtual void start() /*override*/;
42
43 // vIndex: 5
44 virtual void stop() /*override*/;
45
46 // vIndex: 6
47 virtual void tick() /*override*/;
48
49 // vIndex: 7
50 virtual void appendDebugInfo(::std::string& str) const /*override*/;
51
52 // vIndex: 0
53 virtual ~ShareItemsGoal() /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI ::std::pair<int, ::ItemStack>
60 selectEntityToShareWith(::std::vector<::std::pair<int, ::ItemStack>> const& shareableItems);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI bool $canUse();
73
74 MCAPI bool $canContinueToUse();
75
76 MCAPI void $start();
77
78 MCAPI void $stop();
79
80 MCAPI void $tick();
81
82 MCAPI void $appendDebugInfo(::std::string& str) const;
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCAPI static void** $vftable();
89 // NOLINTEND
90};
Definition Goal.h:14
Definition ItemStack.h:25
Definition Mob.h:47
Definition Path.h:16
Definition ShareItemsGoal.h:16
Definition MobDescriptor.h:5