20class GoAndGiveItemsToOwnerGoal :
public ::Goal {
28 enum class State :
int {
37 ::ll::TypedStorage<4, 4, float> mRunSpeed;
38 ::ll::TypedStorage<4, 4, float> mReachMobDistance;
39 ::ll::TypedStorage<4, 4, float> mThrowForce;
40 ::ll::TypedStorage<4, 4, float> mVerticalThrowMul;
41 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mThrowSound;
42 ::ll::TypedStorage<8, 24, ::std::vector<::ActorDefinitionTrigger>> mOnItemThrowTriggers;
54 MCAPI
static void buildSchema(
55 ::std::string
const& name,
71 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
72 ::ll::TypedStorage<8, 64, ::GoAndGiveItemsToOwnerGoal::Definition> mDefinition;
73 ::ll::TypedStorage<4, 4, ::GoAndGiveItemsToOwnerGoal::State> mState;
74 ::ll::TypedStorage<8, 8, ::Tick> mLastPathCalculationTick;
75 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Path>> mPath;
80 GoAndGiveItemsToOwnerGoal& operator=(GoAndGiveItemsToOwnerGoal
const&);
81 GoAndGiveItemsToOwnerGoal(GoAndGiveItemsToOwnerGoal
const&);
82 GoAndGiveItemsToOwnerGoal();
87 virtual bool canUse() ;
89 virtual bool canContinueToUse() ;
91 virtual void start() ;
97 virtual void appendDebugInfo(::std::string& str)
const ;
99 virtual ~GoAndGiveItemsToOwnerGoal() ;
105 MCAPI
bool _attemptToGiveItem();
117 MCAPI
bool $canUse();
119 MCAPI
bool $canContinueToUse();
127 MCAPI
void $appendDebugInfo(::std::string& str)
const;