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/util/json_util/JsonSchemaObjectNode.h"
8#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
9#include "mc/world/actor/ai/goal/Goal.h"
10#include "mc/world/level/Tick.h"
11
12// auto generated forward declare list
13// clang-format off
14class Mob;
15namespace JsonUtil { class EmptyClass; }
16// clang-format on
17
18class RoarGoal : public ::Goal {
19public:
20 // RoarGoal inner types declare
21 // clang-format off
22 class Definition;
23 // clang-format on
24
25 // RoarGoal inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 Definition& operator=(Definition const&);
36 Definition(Definition const&);
37 Definition();
38
39 public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~Definition() /*override*/ = default;
44 // NOLINTEND
45
46 public:
47 // static functions
48 // NOLINTBEGIN
49 MCNAPI static void buildSchema(
50 ::std::string const& name,
52 );
53 // NOLINTEND
54
55 public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60 };
61
62public:
63 // member variables
64 // NOLINTBEGIN
65 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
66 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mRoarTarget;
67 ::ll::TypedStorage<2, 2, ushort> mDurationTicks;
68 ::ll::TypedStorage<8, 8, ::Tick> mEndTick;
69 // NOLINTEND
70
71public:
72 // prevent constructor by default
73 RoarGoal& operator=(RoarGoal const&);
74 RoarGoal(RoarGoal const&);
75 RoarGoal();
76
77public:
78 // virtual functions
79 // NOLINTBEGIN
80 // vIndex: 1
81 virtual bool canUse() /*override*/;
82
83 // vIndex: 2
84 virtual bool canContinueToUse() /*override*/;
85
86 // vIndex: 4
87 virtual void start() /*override*/;
88
89 // vIndex: 5
90 virtual void stop() /*override*/;
91
92 // vIndex: 6
93 virtual void tick() /*override*/;
94
95 // vIndex: 7
96 virtual void appendDebugInfo(::std::string& str) const /*override*/;
97
98 // vIndex: 0
99 virtual ~RoarGoal() /*override*/ = default;
100 // NOLINTEND
101
102public:
103 // member functions
104 // NOLINTBEGIN
105 MCNAPI ::std::optional<::WeakEntityRef> _findRoarTarget() const;
106 // NOLINTEND
107
108public:
109 // virtual function thunks
110 // NOLINTBEGIN
111 MCNAPI bool $canUse();
112
113 MCNAPI bool $canContinueToUse();
114
115 MCNAPI void $start();
116
117 MCNAPI void $stop();
118
119 MCNAPI void $tick();
120
121 MCNAPI void $appendDebugInfo(::std::string& str) const;
122 // NOLINTEND
123
124public:
125 // vftables
126 // NOLINTBEGIN
127 MCNAPI static void** $vftable();
128 // NOLINTEND
129};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition RoarGoal.h:26
static MCAPI void ** $vftable()
static MCAPI void buildSchema(::std::string const &name, ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::RoarGoal::Definition > > &root)
Definition RoarGoal.h:18
MCAPI ::std::optional<::WeakEntityRef > _findRoarTarget() const
MCAPI void $start()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI void $tick()
MCAPI void $stop()
static MCAPI void ** $vftable()
MCAPI bool $canUse()
MCAPI bool $canContinueToUse()
Definition Alias.h:14