26 enum class CanUseResult :
int {
29 NamedAndNotAllowedToDigWhenNamed = 2,
30 NotOnGoundOrInWaterOrInLava = 3,
31 CanSeeDaylightAndShouldDigInDaylight = 4,
32 DisturbedByVibration = 5,
33 DisturbedBySuspicion = 6,
34 IdlingBeforeStartingGoalAgain = 7,
45 ::ll::TypedStorage<4, 4, float> mDuration;
46 ::ll::TypedStorage<4, 4, float> mIdleTimeSeconds;
47 ::ll::TypedStorage<1, 1, bool> mAllowDigWhenNamed;
48 ::ll::TypedStorage<1, 1, bool> mVibrationIsDisturbance;
49 ::ll::TypedStorage<1, 1, bool> mSuspicionIsDisturbance;
50 ::ll::TypedStorage<1, 1, bool> mDigsInDaylight;
51 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnStartEvent;
64 MCAPI
static void buildSchema(
65 ::std::string
const& name,
80 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
81 ::ll::TypedStorage<8, 8, ::Tick> mGoalInitializationTick;
82 ::ll::TypedStorage<4, 4, uint> mIdleTimeTicks;
83 ::ll::TypedStorage<2, 2, ushort> mDurationTicks;
84 ::ll::TypedStorage<8, 8, ::Tick> mEndTick;
85 ::ll::TypedStorage<1, 1, bool> mAllowDigWhenNamed;
86 ::ll::TypedStorage<1, 1, bool> mVibrationIsDisturbance;
87 ::ll::TypedStorage<1, 1, bool> mSuspicionIsDisturbance;
88 ::ll::TypedStorage<1, 1, bool> mDigsInDaylight;
89 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnStartEvent;
102 virtual bool canUse() ;
105 virtual bool canContinueToUse() ;
108 virtual void start() ;
111 virtual void stop() ;
114 virtual void tick() ;
117 virtual void appendDebugInfo(::std::string& str)
const ;
126 MCAPI ::DigGoal::CanUseResult _canUse()
const;
132 MCAPI
bool $canUse();
134 MCAPI
bool $canContinueToUse();
142 MCAPI
void $appendDebugInfo(::std::string& str)
const;