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/shared_types/legacy/actor/ActorDamageCause.h"
7#include "mc/util/IntRange.h"
8#include "mc/util/json_util/JsonSchemaObjectNode.h"
9#include "mc/world/actor/ActorFilterGroup.h"
10#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
11#include "mc/world/actor/ai/goal/Goal.h"
12
13// auto generated forward declare list
14// clang-format off
15class Mob;
16namespace JsonUtil { class EmptyClass; }
17// clang-format on
18
19class PlayDeadGoal : public ::Goal {
20public:
21 // PlayDeadGoal inner types declare
22 // clang-format off
23 class Definition;
24 // clang-format on
25
26 // PlayDeadGoal inner types define
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<4, 4, float> mDuration;
32 ::ll::TypedStorage<4, 4, float> mRandomStartChance;
33 ::ll::TypedStorage<4, 4, int> mForceUseBelowHealth;
34 ::ll::TypedStorage<4, 8, ::IntRange> mActivationDamageRange;
35 ::ll::TypedStorage<1, 1, bool> mApplyRegeneration;
36 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::ActorDamageCause>> mDamageCauses;
37 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
38 // NOLINTEND
39
40 public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~Definition() /*override*/ = default;
45 // NOLINTEND
46
47 public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI void addDamageCause(::std::string const& causeCased);
51 // NOLINTEND
52
53 public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static void buildSchema(
57 ::std::string const& name,
59 root
60 );
61 // NOLINTEND
62
63 public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68 };
69
70public:
71 // member variables
72 // NOLINTBEGIN
73 ::ll::TypedStorage<8, 128, ::PlayDeadGoal::Definition> mDefinition;
74 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
75 ::ll::TypedStorage<8, 8, uint64> mPlayDeadDuration;
76 ::ll::TypedStorage<8, 8, uint64> mStopPlayingDeadTime;
77 ::ll::TypedStorage<8, 8, uint64> mLastDamagedTimestamp;
78 ::ll::TypedStorage<1, 1, bool> mPlayDeadOnAllCauses;
79 // NOLINTEND
80
81public:
82 // prevent constructor by default
83 PlayDeadGoal& operator=(PlayDeadGoal const&);
86
87public:
88 // virtual functions
89 // NOLINTBEGIN
90 // vIndex: 1
91 virtual bool canUse() /*override*/;
92
93 // vIndex: 4
94 virtual void start() /*override*/;
95
96 // vIndex: 5
97 virtual void stop() /*override*/;
98
99 // vIndex: 2
100 virtual bool canContinueToUse() /*override*/;
101
102 // vIndex: 7
103 virtual void appendDebugInfo(::std::string& str) const /*override*/;
104
105 // vIndex: 0
106 virtual ~PlayDeadGoal() /*override*/ = default;
107 // NOLINTEND
108
109public:
110 // virtual function thunks
111 // NOLINTBEGIN
112 MCAPI bool $canUse();
113
114 MCAPI void $start();
115
116 MCAPI void $stop();
117
118 MCAPI bool $canContinueToUse();
119
120 MCAPI void $appendDebugInfo(::std::string& str) const;
121 // NOLINTEND
122
123public:
124 // vftables
125 // NOLINTBEGIN
126 MCNAPI static void** $vftable();
127 // NOLINTEND
128};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition PlayDeadGoal.h:27
static MCAPI void ** $vftable()
Definition PlayDeadGoal.h:19
static MCAPI void ** $vftable()