LeviLamina
Loading...
Searching...
No Matches
PlayGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/json_utils/JsonSchemaObjectNode.h"
7#include "mc/world/actor/TempEPtr.h"
8#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
9#include "mc/world/actor/ai/goal/Goal.h"
10
11// auto generated forward declare list
12// clang-format off
13class Mob;
14class Vec3;
15struct MobDescriptor;
16namespace JsonUtil { class EmptyClass; }
17// clang-format on
18
19class PlayGoal : public ::Goal {
20public:
21 // PlayGoal inner types declare
22 // clang-format off
23 class PlayDefinition;
24 // clang-format on
25
26 // PlayGoal inner types define
28 public:
29 // member variables
30 // NOLINTBEGIN
39 // NOLINTEND
40
41 public:
42 // prevent constructor by default
43 PlayDefinition& operator=(PlayDefinition const&);
46
47 public:
48 // virtual functions
49 // NOLINTBEGIN
50 // vIndex: 0
51 virtual ~PlayDefinition() /*override*/ = default;
52 // NOLINTEND
53
54 public:
55 // static functions
56 // NOLINTBEGIN
57 MCAPI static void buildSchema(
58 ::std::string const& name,
60 root
61 );
62 // NOLINTEND
63
64 public:
65 // destructor thunk
66 // NOLINTBEGIN
67
68 // NOLINTEND
69
70 public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75 };
76
77public:
78 // member variables
79 // NOLINTBEGIN
80 ::ll::TypedStorage<4, 4, float> mSpeedModifier;
81 ::ll::TypedStorage<4, 4, int> mMaxPlayDurationTicks;
82 ::ll::TypedStorage<4, 4, float> mChanceToStart;
83 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor>> mFriendTypes;
84 ::ll::TypedStorage<4, 12, ::Vec3> mFriendSearchArea;
85 ::ll::TypedStorage<4, 4, int> mRandomPosSearchRange;
86 ::ll::TypedStorage<4, 4, int> mRandomPosSearchHeight;
87 ::ll::TypedStorage<4, 4, int> mFollowDistanceInBlocksSquared;
88 ::ll::TypedStorage<4, 4, int> mCurrentPlayDurationTicks;
89 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
90 ::ll::TypedStorage<8, 40, ::TempEPtr<::Mob>> mFollowFriend;
91 // NOLINTEND
92
93public:
94 // virtual functions
95 // NOLINTBEGIN
96 // vIndex: 1
97 virtual bool canUse() /*override*/;
98
99 // vIndex: 2
100 virtual bool canContinueToUse() /*override*/;
101
102 // vIndex: 4
103 virtual void start() /*override*/;
104
105 // vIndex: 5
106 virtual void stop() /*override*/;
107
108 // vIndex: 6
109 virtual void tick() /*override*/;
110
111 // vIndex: 7
112 virtual void appendDebugInfo(::std::string& str) const /*override*/;
113
114 // vIndex: 0
115 virtual ~PlayGoal() /*override*/ = default;
116 // NOLINTEND
117
118public:
119 // destructor thunk
120 // NOLINTBEGIN
121
122 // NOLINTEND
123
124public:
125 // virtual function thunks
126 // NOLINTBEGIN
127 MCAPI bool $canUse();
128
129 MCAPI bool $canContinueToUse();
130
131 MCAPI void $start();
132
133 MCAPI void $stop();
134
135 MCAPI void $tick();
136
137 MCAPI void $appendDebugInfo(::std::string& str) const;
138 // NOLINTEND
139
140public:
141 // vftables
142 // NOLINTBEGIN
143 MCAPI static void** $vftable();
144 // NOLINTEND
145};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition PlayGoal.h:27
Definition PlayGoal.h:19
Definition Vec3.h:10
Definition MobDescriptor.h:5
Definition Alias.h:14