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/BaseGoal.h"
10
11// auto generated forward declare list
12// clang-format off
13class Mob;
14// clang-format on
15
16class PlayDeadGoal : public ::BaseGoal {
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 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI explicit PlayDeadGoal(::Mob& mob);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::Mob& mob);
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI bool $canUse();
70
71 MCAPI void $start();
72
73 MCAPI void $stop();
74
75 MCAPI bool $canContinueToUse();
76
77 MCAPI void $appendDebugInfo(::std::string& str) const;
78
79
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition Mob.h:56
static MCAPI void ** $vftable()