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