LeviLamina
Loading...
Searching...
No Matches
RoarGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8#include "mc/world/level/Tick.h"
9
10// auto generated forward declare list
11// clang-format off
12class Mob;
13// clang-format on
14
15class RoarGoal : public ::Goal {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
20 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mRoarTarget;
21 ::ll::TypedStorage<2, 2, ushort> mDurationTicks;
22 ::ll::TypedStorage<8, 8, ::Tick> mEndTick;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 RoarGoal& operator=(RoarGoal const&);
28 RoarGoal(RoarGoal const&);
29 RoarGoal();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual bool canUse() /*override*/;
35
36 virtual bool canContinueToUse() /*override*/;
37
38 virtual void start() /*override*/;
39
40 virtual void stop() /*override*/;
41
42 virtual void tick() /*override*/;
43
44 virtual void appendDebugInfo(::std::string& str) const /*override*/;
45
46 virtual ~RoarGoal() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ::std::optional<::WeakEntityRef> _findRoarTarget() const;
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI bool $canUse();
59
60 MCAPI bool $canContinueToUse();
61
62 MCAPI void $start();
63
64 MCAPI void $stop();
65
66 MCAPI void $tick();
67
68 MCAPI void $appendDebugInfo(::std::string& str) const;
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition Goal.h:14
Definition Mob.h:50
static MCAPI void ** $vftable()