LeviLamina
Loading...
Searching...
No Matches
RandomSitGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/goal/Goal.h"
7
8// auto generated forward declare list
9// clang-format off
10class Mob;
11// clang-format on
12
13class RandomSitGoal : public ::Goal {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
18 ::ll::TypedStorage<4, 4, float const> mStartChance;
19 ::ll::TypedStorage<4, 4, float const> mStopChance;
20 ::ll::TypedStorage<8, 8, uint64> mCooldown;
21 ::ll::TypedStorage<4, 4, int const> mSitCooldownTotal;
22 ::ll::TypedStorage<4, 4, int const> mMinSitTick;
23 ::ll::TypedStorage<4, 4, int> mCurrentSitTick;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 RandomSitGoal& operator=(RandomSitGoal const&);
29 RandomSitGoal(RandomSitGoal const&);
30 RandomSitGoal();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual bool canUse() /*override*/;
36
37 virtual void start() /*override*/;
38
39 virtual void stop() /*override*/;
40
41 virtual bool canContinueToUse() /*override*/;
42
43 virtual void appendDebugInfo(::std::string& str) const /*override*/;
44
45 virtual ~RandomSitGoal() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI bool $canUse();
52
53 MCAPI void $start();
54
55 MCAPI void $stop();
56
57 MCAPI bool $canContinueToUse();
58
59 MCAPI void $appendDebugInfo(::std::string& str) const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition Goal.h:14
Definition Mob.h:51
static MCAPI void ** $vftable()