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