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