LeviLamina
Loading...
Searching...
No Matches
SummonActorGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Mob;
14struct SummonSpellData;
15// clang-format on
16
17class SummonActorGoal : public ::Goal {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Mob&> mCaster;
22 ::ll::TypedStorage<8, 24, ::std::vector<::SummonSpellData>> mSpells;
23 ::ll::TypedStorage<4, 4, int> mCurrentTick;
24 ::ll::TypedStorage<4, 4, int> mCastTicksRemaining;
25 ::ll::TypedStorage<4, 4, int> mCurrentSpellIndex;
26 ::ll::TypedStorage<4, 4, int> mCurrentSpellStage;
27 ::ll::TypedStorage<4, 4, int> mCurrentSummonCount;
28 ::ll::TypedStorage<8, 8, uint64> mCooldownStopTick;
29 ::ll::TypedStorage<4, 12, ::Vec3> mTargetPos;
30 ::ll::TypedStorage<4, 12, ::Vec3> mCasterPos;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 SummonActorGoal& operator=(SummonActorGoal const&);
36 SummonActorGoal(SummonActorGoal const&);
37 SummonActorGoal();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual void appendDebugInfo(::std::string& str) const /*override*/;
43
44 virtual bool canUse() /*override*/;
45
46 virtual bool canContinueToUse() /*override*/;
47
48 virtual void start() /*override*/;
49
50 virtual void stop() /*override*/;
51
52 virtual void tick() /*override*/;
53
54 virtual ~SummonActorGoal() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI void _createSpellEntity(
61 float x,
62 float z,
63 float minY,
64 float maxY,
65 float,
66 int lifespan,
68 ::std::string const& summonEvent
69 ) const;
70
71 MCAPI int _selectBestSpell(::Actor& target) const;
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCAPI void $appendDebugInfo(::std::string& str) const;
78
79 MCAPI bool $canUse();
80
81 MCAPI bool $canContinueToUse();
82
83 MCAPI void $start();
84
85 MCAPI void $stop();
86
87 MCAPI void $tick();
88
89
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition Actor.h:105
Definition Goal.h:14
Definition Mob.h:50
static MCAPI void ** $vftable()
Definition ActorDefinitionIdentifier.h:15
Definition SummonSpellData.h:14