LeviLamina
Loading...
Searching...
No Matches
LookAtActorGoal.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/TempEPtr.h"
8#include "mc/world/actor/ai/goal/Goal.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class Mob;
14// clang-format on
15
16class LookAtActorGoal : public ::Goal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 40, ::TempEPtr<::Actor>> mLookAt;
21 ::ll::TypedStorage<4, 4, float> mLookDistance;
22 ::ll::TypedStorage<4, 4, int> mAngleOfViewX;
23 ::ll::TypedStorage<4, 4, int> mAngleOfViewY;
24 ::ll::TypedStorage<4, 4, int> mLookTime;
25 ::ll::TypedStorage<4, 4, int> mMinLookTime;
26 ::ll::TypedStorage<4, 4, int> mMaxLookTime;
27 ::ll::TypedStorage<4, 4, float> mProbability;
28 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mTargetFilter;
29 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 LookAtActorGoal& operator=(LookAtActorGoal const&);
35 LookAtActorGoal(LookAtActorGoal const&);
36 LookAtActorGoal();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~LookAtActorGoal() /*override*/;
42
43 virtual bool canUse() /*override*/;
44
45 virtual bool canContinueToUse() /*override*/;
46
47 virtual void start() /*override*/;
48
49 virtual void stop() /*override*/;
50
51 virtual void tick() /*override*/;
52
53 virtual void appendDebugInfo(::std::string& str) const /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI bool _withinFieldOfView(::Actor& entity);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI bool $canUse();
72
73 MCAPI bool $canContinueToUse();
74
75 MCAPI void $start();
76
77 MCFOLD void $stop();
78
79 MCAPI void $tick();
80
81 MCAPI void $appendDebugInfo(::std::string& str) const;
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition Actor.h:105
Definition Goal.h:14
static MCAPI void ** $vftable()
Definition Mob.h:50