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