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
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 // vIndex: 0
43 virtual ~Definition() /*override*/ = default;
44 // NOLINTEND
45
46 public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI 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<2, 2, ushort> mDurationTicks;
67 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnDoneEvent;
68 ::ll::TypedStorage<8, 8, ::Tick> mCooldownExpiryTick;
69 ::ll::TypedStorage<8, 8, ::Tick> mEndTick;
70 ::ll::TypedStorage<2, 2, ushort> mCooldownTicks;
71 // NOLINTEND
72
73public:
74 // prevent constructor by default
75 EmergeGoal& operator=(EmergeGoal const&);
76 EmergeGoal(EmergeGoal const&);
77 EmergeGoal();
78
79public:
80 // virtual functions
81 // NOLINTBEGIN
82 // vIndex: 1
83 virtual bool canUse() /*override*/;
84
85 // vIndex: 2
86 virtual bool canContinueToUse() /*override*/;
87
88 // vIndex: 4
89 virtual void start() /*override*/;
90
91 // vIndex: 5
92 virtual void stop() /*override*/;
93
94 // vIndex: 6
95 virtual void tick() /*override*/;
96
97 // vIndex: 7
98 virtual void appendDebugInfo(::std::string& str) const /*override*/;
99
100 // vIndex: 0
101 virtual ~EmergeGoal() /*override*/ = default;
102 // NOLINTEND
103
104public:
105 // virtual function thunks
106 // NOLINTBEGIN
107 MCAPI bool $canUse();
108
109 MCAPI bool $canContinueToUse();
110
111 MCAPI void $start();
112
113 MCAPI void $stop();
114
115 MCFOLD void $tick();
116
117 MCAPI void $appendDebugInfo(::std::string& str) const;
118 // NOLINTEND
119
120public:
121 // vftables
122 // NOLINTBEGIN
123 MCNAPI static void** $vftable();
124 // NOLINTEND
125};
Definition BaseGoalDefinition.h:10
Definition EmergeGoal.h:26
static MCAPI void ** $vftable()
Definition EmergeGoal.h:18
static MCAPI void ** $vftable()
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47