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/world/actor/ai/goal/Goal.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Mob;
12class Vec3;
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 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 7
37 virtual void appendDebugInfo(::std::string& str) const /*override*/;
38
39 // vIndex: 1
40 virtual bool canUse() /*override*/;
41
42 // vIndex: 2
43 virtual bool canContinueToUse() /*override*/;
44
45 // vIndex: 4
46 virtual void start() /*override*/;
47
48 // vIndex: 5
49 virtual void stop() /*override*/;
50
51 // vIndex: 6
52 virtual void tick() /*override*/;
53
54 // vIndex: 0
55 virtual ~SummonActorGoal() /*override*/ = default;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI void
62 _createSpellEntity(float x, float z, float minY, float maxY, float lifespan, int summonType, ::ActorDefinitionIdentifier summonEvent, ::std::string const&)
63 const;
64
65 MCAPI int _selectBestSpell(::Actor& target) const;
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71
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 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCAPI static void** $vftable();
94 // NOLINTEND
95};
Definition Actor.h:104
Definition Goal.h:14
Definition Mob.h:47
Definition SummonActorGoal.h:17
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:13
Definition SummonSpellData.h:5