LeviLamina
Loading...
Searching...
No Matches
TradeInterestGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/TempEPtr.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemStack;
12class Mob;
13class Player;
14struct Tick;
15// clang-format on
16
17class TradeInterestGoal : public ::Goal {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
22 ::ll::TypedStorage<8, 40, ::TempEPtr<::Player>> mPlayer;
23 ::ll::TypedStorage<1, 1, bool> mIsRunning;
24 ::ll::TypedStorage<1, 1, bool> mIsOnlyTargetItemFound;
25 ::ll::TypedStorage<4, 4, float> mInterestDistance;
26 ::ll::TypedStorage<8, 8, uint64> mCurrentIndex;
27 ::ll::TypedStorage<8, 152, ::ItemStack> mCarriedItem;
28 ::ll::TypedStorage<8, 152, ::ItemStack> mPlayerItem;
29 ::ll::TypedStorage<8, 8, ::Tick> mCarriedItemSwitchTimer;
30 ::ll::TypedStorage<8, 8, ::Tick> mRemoveItemTimer;
31 ::ll::TypedStorage<8, 8, ::Tick> mInterestTimer;
32 ::ll::TypedStorage<8, 8, ::Tick> mInterestCooldown;
33 ::ll::TypedStorage<8, 8, ::Tick const> mInterestTimeMax;
34 ::ll::TypedStorage<8, 8, ::Tick const> mInterestTimeMaxHalf;
35 ::ll::TypedStorage<8, 8, ::Tick const> mRemoveTimeMax;
36 ::ll::TypedStorage<8, 8, ::Tick const> mCarriedSwitchMax;
37 ::ll::TypedStorage<8, 8, ::Tick const> mInterestCooldownMax;
38 // NOLINTEND
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 1
44 virtual bool canUse() /*override*/;
45
46 // vIndex: 2
47 virtual bool canContinueToUse() /*override*/;
48
49 // vIndex: 4
50 virtual void start() /*override*/;
51
52 // vIndex: 5
53 virtual void stop() /*override*/;
54
55 // vIndex: 6
56 virtual void tick() /*override*/;
57
58 // vIndex: 7
59 virtual void appendDebugInfo(::std::string& str) const /*override*/;
60
61 // vIndex: 0
62 virtual ~TradeInterestGoal() /*override*/;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
69 ::Mob& mob,
70 float interestDistance,
71 float interestTime,
72 float removeTime,
73 float carriedTime,
74 float cooldown
75 );
76
77 MCAPI bool _isLookingAtMe(::Player const& target) const;
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCAPI void*
84 $ctor(::Mob& mob, float interestDistance, float interestTime, float removeTime, float carriedTime, float cooldown);
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCAPI void $dtor();
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCAPI bool $canUse();
97
98 MCAPI bool $canContinueToUse();
99
100 MCAPI void $start();
101
102 MCAPI void $stop();
103
104 MCAPI void $tick();
105
106 MCAPI void $appendDebugInfo(::std::string& str) const;
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCAPI static void** $vftable();
113 // NOLINTEND
114};
Definition Goal.h:14
Definition ItemStack.h:25
Definition Mob.h:47
Definition Player.h:119
Definition TradeInterestGoal.h:17
Definition Tick.h:5