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&);
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 7
43 virtual void appendDebugInfo(::std::string& str) const /*override*/;
44
45 // vIndex: 1
46 virtual bool canUse() /*override*/;
47
48 // vIndex: 2
49 virtual bool canContinueToUse() /*override*/;
50
51 // vIndex: 4
52 virtual void start() /*override*/;
53
54 // vIndex: 5
55 virtual void stop() /*override*/;
56
57 // vIndex: 6
58 virtual void tick() /*override*/;
59
60 // vIndex: 0
61 virtual ~SummonActorGoal() /*override*/ = default;
62 // NOLINTEND
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCNAPI void _createSpellEntity(
68 float x,
69 float z,
70 float minY,
71 float maxY,
72 float,
73 int lifespan,
75 ::std::string const& summonEvent
76 ) const;
77
78 MCNAPI int _selectBestSpell(::Actor& target) const;
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCNAPI void $appendDebugInfo(::std::string& str) const;
85
86 MCNAPI bool $canUse();
87
88 MCNAPI bool $canContinueToUse();
89
90 MCNAPI void $start();
91
92 MCNAPI void $stop();
93
94 MCNAPI void $tick();
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
Definition Actor.h:103
Definition Goal.h:14
Definition Mob.h:47
Definition SummonActorGoal.h:17
static MCAPI void ** $vftable()
MCAPI int _selectBestSpell(::Actor &target) const
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI void $stop()
MCAPI bool $canUse()
MCAPI void _createSpellEntity(float x, float z, float minY, float maxY, float, int lifespan, ::ActorDefinitionIdentifier summonType, ::std::string const &summonEvent) const
MCAPI void $tick()
MCAPI bool $canContinueToUse()
MCAPI void $start()
Definition ActorDefinitionIdentifier.h:15
Definition SummonSpellData.h:5