17class WorkGoal :
public ::MoveToPOIGoal {
21 ::ll::TypedStorage<4, 4, ::POIType> mPOIType;
22 ::ll::TypedStorage<4, 4, int> mMinSoundDelay;
23 ::ll::TypedStorage<4, 4, int> mMaxSoundDelay;
24 ::ll::TypedStorage<4, 4, int> mGoalCooldown;
25 ::ll::TypedStorage<4, 4, int> mActiveTime;
26 ::ll::TypedStorage<1, 1, bool> mCanWorkInRain;
27 ::ll::TypedStorage<4, 4, int> mWorkInRainTolerance;
28 ::ll::TypedStorage<4, 4, int> mCooldownTick;
29 ::ll::TypedStorage<4, 4, int> mActiveTick;
30 ::ll::TypedStorage<4, 4, int> mSoundTick;
31 ::ll::TypedStorage<4, 4, int> mSoundTickMax;
32 ::ll::TypedStorage<1, 1, bool> mCanRainAtLocation;
33 ::ll::TypedStorage<4, 4, int> mRainCheckCooldownTick;
34 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnArrival;
35 ::ll::TypedStorage<1, 1, bool> mHasEverReachedJobsite;
36 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSoundEvent;
46 virtual void appendDebugInfo(::std::string& str)
const ;
48 virtual bool canUse() ;
50 virtual bool canContinueToUse() ;
52 virtual void start() ;
58 virtual void useWorkstation();
64 MCAPI WorkGoal(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
66 MCAPI
void playPOISoundEvent()
const;
72 MCAPI
void* $ctor(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
78 MCAPI
void $appendDebugInfo(::std::string& str)
const;
82 MCAPI
bool $canContinueToUse();
90 MCAPI
void $useWorkstation();