Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TradeWithPlayerGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorFilterGroup.h"
7#include "mc/world/actor/ai/goal/BaseGoal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Mob;
12// clang-format on
13
14class TradeWithPlayerGoal : public ::BaseGoal {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
19 ::ll::TypedStorage<4, 4, float> mMaxDistanceFromPlayerSquared;
20 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 TradeWithPlayerGoal& operator=(TradeWithPlayerGoal const&);
26 TradeWithPlayerGoal(TradeWithPlayerGoal const&);
27 TradeWithPlayerGoal();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool canUse() /*override*/;
33
34 virtual bool canContinueToUse() /*override*/;
35
36 virtual void start() /*override*/;
37
38 virtual void appendDebugInfo(::std::string& str) const /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCNAPI bool $canUse();
45
46 MCNAPI bool $canContinueToUse();
47
48 MCNAPI void $start();
49
50 MCNAPI void $appendDebugInfo(::std::string& str) const;
51
52
53 // NOLINTEND
54};
Definition BaseGoal.h:12
Definition Mob.h:58
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canUse()
MCAPI bool $canContinueToUse()
MCAPI void $start()