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 // Definition inner types define
29 using self = ::EmergeGoal::Definition;
30
31 public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<4, 4, float> mDuration;
35 ::ll::TypedStorage<4, 4, float> mCooldownSeconds;
36 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnDoneEvent;
37 // NOLINTEND
38
39 public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~Definition() /*override*/ = default;
43 // NOLINTEND
44
45 public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static void buildSchema(
49 ::std::string const& name,
51 );
52 // NOLINTEND
53
54 public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59 };
60
61public:
62 // member variables
63 // NOLINTBEGIN
64 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
65 ::ll::TypedStorage<2, 2, ushort> mDurationTicks;
66 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnDoneEvent;
67 ::ll::TypedStorage<8, 8, ::Tick> mCooldownExpiryTick;
68 ::ll::TypedStorage<8, 8, ::Tick> mEndTick;
69 ::ll::TypedStorage<2, 2, ushort> mCooldownTicks;
70 // NOLINTEND
71
72public:
73 // prevent constructor by default
74 EmergeGoal& operator=(EmergeGoal const&);
75 EmergeGoal(EmergeGoal const&);
76 EmergeGoal();
77
78public:
79 // virtual functions
80 // NOLINTBEGIN
81 virtual bool canUse() /*override*/;
82
83 virtual bool canContinueToUse() /*override*/;
84
85 virtual void start() /*override*/;
86
87 virtual void stop() /*override*/;
88
89 virtual void tick() /*override*/;
90
91 virtual void appendDebugInfo(::std::string& str) const /*override*/;
92
93 virtual ~EmergeGoal() /*override*/ = default;
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99 MCAPI bool $canUse();
100
101 MCAPI bool $canContinueToUse();
102
103 MCAPI void $start();
104
105 MCAPI void $stop();
106
107 MCFOLD void $tick();
108
109 MCAPI void $appendDebugInfo(::std::string& str) const;
110
111
112 // NOLINTEND
113
114public:
115 // vftables
116 // NOLINTBEGIN
117 MCNAPI static void** $vftable();
118 // NOLINTEND
119};
Definition BaseGoalDefinition.h:10
Definition EmergeGoal.h:26
static MCAPI void ** $vftable()
static MCAPI void ** $vftable()
Definition Goal.h:14
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:50