Skip to content
LeviMC
English
AutoLightDark
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/BaseGoal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Mob;
13struct SummonSpellData;
14// clang-format on
15
16class SummonActorGoal : public ::BaseGoal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Mob&> mCaster;
21 ::ll::TypedStorage<8, 24, ::std::vector<::SummonSpellData>> mSpells;
22 ::ll::TypedStorage<4, 4, int> mCurrentTick;
23 ::ll::TypedStorage<4, 4, int> mCastTicksRemaining;
24 ::ll::TypedStorage<4, 4, int> mCurrentSpellIndex;
25 ::ll::TypedStorage<4, 4, int> mCurrentSpellStage;
26 ::ll::TypedStorage<4, 4, int> mCurrentSummonCount;
27 ::ll::TypedStorage<8, 8, uint64> mCooldownStopTick;
28 ::ll::TypedStorage<4, 12, ::Vec3> mTargetPos;
29 ::ll::TypedStorage<4, 12, ::Vec3> mCasterPos;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 SummonActorGoal& operator=(SummonActorGoal const&);
35 SummonActorGoal(SummonActorGoal const&);
36 SummonActorGoal();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual void appendDebugInfo(::std::string& str) const /*override*/;
42
43 virtual bool canUse() /*override*/;
44
45 virtual bool canContinueToUse() /*override*/;
46
47 virtual void start() /*override*/;
48
49 virtual void stop() /*override*/;
50
51 virtual void tick() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI void _createSpellEntity(
58 float x,
59 float z,
60 float minY,
61 float maxY,
62 float,
63 int lifespan,
65 ::std::string const& summonEvent
66 ) const;
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCNAPI void $appendDebugInfo(::std::string& str) const;
73
74 MCNAPI bool $canUse();
75
76 MCNAPI bool $canContinueToUse();
77
78 MCNAPI void $start();
79
80 MCNAPI void $stop();
81
82 MCNAPI void $tick();
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BaseGoal.h:12
Definition Mob.h:58
static MCAPI void ** $vftable()
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:14