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