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/world/actor/ActorFilterGroup.h"
9#include "mc/world/actor/ai/goal/Goal.h"
10
11// auto generated forward declare list
12// clang-format off
13class Mob;
14// clang-format on
15
16class PlayDeadGoal : public ::Goal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, float> mDuration;
21 ::ll::TypedStorage<4, 4, float> mRandomStartChance;
22 ::ll::TypedStorage<4, 4, int> mForceUseBelowHealth;
23 ::ll::TypedStorage<1, 1, bool> mApplyRegeneration;
24 ::ll::TypedStorage<4, 8, ::IntRange> mActivationDamageRange;
25 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::ActorDamageCause>> mDamageCauses;
26 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
27 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
28 ::ll::TypedStorage<8, 8, uint64> mPlayDeadDuration;
29 ::ll::TypedStorage<8, 8, uint64> mStopPlayingDeadTime;
30 ::ll::TypedStorage<8, 8, uint64> mLastDamagedTimestamp;
31 ::ll::TypedStorage<1, 1, bool> mPlayDeadOnAllCauses;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 PlayDeadGoal& operator=(PlayDeadGoal const&);
37 PlayDeadGoal(PlayDeadGoal const&);
38 PlayDeadGoal();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual bool canUse() /*override*/;
44
45 virtual void start() /*override*/;
46
47 virtual void stop() /*override*/;
48
49 virtual bool canContinueToUse() /*override*/;
50
51 virtual void appendDebugInfo(::std::string& str) const /*override*/;
52
53 virtual ~PlayDeadGoal() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI bool $canUse();
60
61 MCAPI void $start();
62
63 MCAPI void $stop();
64
65 MCAPI bool $canContinueToUse();
66
67 MCAPI void $appendDebugInfo(::std::string& str) const;
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition Goal.h:14
Definition Mob.h:51
static MCAPI void ** $vftable()