22class FireAtTargetGoal :
public ::Goal {
34 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
35 ::ll::TypedStorage<4, 8, ::FloatRange> mAttackRange;
36 ::ll::TypedStorage<4, 4, float> mAttackCooldownInSeconds;
37 ::ll::TypedStorage<4, 4, float> mPreShootDelayInSeconds;
38 ::ll::TypedStorage<4, 4, float> mPostShootDelayInSeconds;
39 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationX;
40 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
41 ::ll::TypedStorage<4, 4, float> mRangedFOV;
42 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mProjectileDefinition;
43 ::ll::TypedStorage<4, 4, ::ProjectileAnchor> mOwnerAnchor;
44 ::ll::TypedStorage<4, 12, ::Vec3> mOwnerOffset;
45 ::ll::TypedStorage<4, 4, ::ProjectileAnchor> mTargetAnchor;
46 ::ll::TypedStorage<4, 12, ::Vec3> mTargetOffset;
58 MCAPI
void setOwnerAnchor(
int const& value);
60 MCAPI
void setProjectileDefinitionByName(::std::string
const& name);
62 MCAPI
void setTargetAnchor(
int const& value);
68 MCAPI
static void buildSchema(
69 ::std::string
const& name,
85 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
86 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
87 ::ll::TypedStorage<4, 8, ::FloatRange> mAttackRangeSquared;
88 ::ll::TypedStorage<4, 4, uint> mAttackCooldownTicks;
89 ::ll::TypedStorage<4, 4, uint> mPreShootDelayTicks;
90 ::ll::TypedStorage<8, 8, uint64> mDurationTicks;
91 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationX;
92 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
93 ::ll::TypedStorage<4, 4, float> mRangedFOV;
94 ::ll::TypedStorage<1, 1, bool> mTriedToShoot;
95 ::ll::TypedStorage<8, 8, uint64> mAttackCooldownTimeStamp;
96 ::ll::TypedStorage<8, 8, uint64> mPreShootDelayTimeStamp;
97 ::ll::TypedStorage<8, 8, uint64> mEndTimeStamp;
98 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mProjectileDefinition;
99 ::ll::TypedStorage<4, 4, ::ProjectileAnchor> mOwnerAnchor;
100 ::ll::TypedStorage<4, 12, ::Vec3> mOwnerOffset;
101 ::ll::TypedStorage<4, 4, ::ProjectileAnchor> mTargetAnchor;
102 ::ll::TypedStorage<4, 12, ::Vec3> mTargetOffset;
107 FireAtTargetGoal& operator=(FireAtTargetGoal
const&);
108 FireAtTargetGoal(FireAtTargetGoal
const&);
114 virtual bool canUse() ;
116 virtual bool canContinueToUse() ;
118 virtual void start() ;
120 virtual void stop() ;
122 virtual void tick() ;
124 virtual void appendDebugInfo(::std::string& str)
const ;
126 virtual ~FireAtTargetGoal() =
default;
133 _getAnchorAndOffsetPosition(
::Actor const& actor, ::ProjectileAnchor anchor,
::Vec3 const& offset);
139 MCAPI
bool $canUse();
141 MCAPI
bool $canContinueToUse();
149 MCAPI
void $appendDebugInfo(::std::string& str)
const;