Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GuardianAttackGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/goal/BaseGoal.h"
7
8// auto generated forward declare list
9// clang-format off
10class Guardian;
11// clang-format on
12
13class GuardianAttackGoal : public ::BaseGoal {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 8, ::Guardian&> mGuardian;
18 ::ll::TypedStorage<4, 4, int> mAttackTicks;
19 ::ll::TypedStorage<4, 4, int> mSoundDelayTicks;
20 ::ll::TypedStorage<4, 4, int> mMagicDamage;
21 ::ll::TypedStorage<4, 4, int> mHardModeExtraMagicDamage;
22 ::ll::TypedStorage<4, 4, int> mElderExtraMagicDamage;
23 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
24 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
25 ::ll::TypedStorage<4, 4, float> mMinDistance;
26 ::ll::TypedStorage<1, 1, bool> mLastCanSinkState;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 GuardianAttackGoal& operator=(GuardianAttackGoal const&);
32 GuardianAttackGoal(GuardianAttackGoal const&);
33 GuardianAttackGoal();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual bool canUse() /*override*/;
39
40 virtual bool canContinueToUse() /*override*/;
41
42 virtual void start() /*override*/;
43
44 virtual void tick() /*override*/;
45
46 virtual void stop() /*override*/;
47
48 virtual void appendDebugInfo(::std::string& str) const /*override*/;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCNAPI bool $canUse();
55
56 MCNAPI bool $canContinueToUse();
57
58 MCNAPI void $start();
59
60 MCNAPI void $tick();
61
62 MCNAPI void $stop();
63
64 MCNAPI void $appendDebugInfo(::std::string& str) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition BaseGoal.h:12
MCAPI bool $canUse()
MCAPI void $start()
MCAPI void $tick()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canContinueToUse()
MCAPI void $stop()
static MCAPI void ** $vftable()
Definition Guardian.h:26