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 // 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 ~RoarGoal() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI ::std::optional<::WeakEntityRef> _findRoarTarget() const;
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI bool $canUse();
66
67 MCAPI bool $canContinueToUse();
68
69 MCAPI void $start();
70
71 MCAPI void $stop();
72
73 MCAPI void $tick();
74
75 MCAPI void $appendDebugInfo(::std::string& str) const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition Goal.h:14
Definition Mob.h:47
Definition RoarGoal.h:15
static MCAPI void ** $vftable()