LeviLamina
Loading...
Searching...
No Matches
NapGoal.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
11class Mob;
12class Vec3;
13struct Tick;
14// clang-format on
15
16class NapGoal : public ::Goal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
21 ::ll::TypedStorage<8, 8, ::Tick> mCooldown;
22 ::ll::TypedStorage<8, 8, ::Tick> mDetectMobsTimer;
23 ::ll::TypedStorage<1, 1, bool> mInvalidCooldown;
24 ::ll::TypedStorage<4, 4, int const> mNapCooldownMin;
25 ::ll::TypedStorage<4, 4, int const> mNapCooldownMax;
26 ::ll::TypedStorage<4, 12, ::Vec3 const> mDetectRange;
27 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mCanNapFilters;
28 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mWakeMobExceptions;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 1
35 virtual bool canUse() /*override*/;
36
37 // vIndex: 4
38 virtual void start() /*override*/;
39
40 // vIndex: 5
41 virtual void stop() /*override*/;
42
43 // vIndex: 2
44 virtual bool canContinueToUse() /*override*/;
45
46 // vIndex: 7
47 virtual void appendDebugInfo(::std::string& str) const /*override*/;
48
49 // vIndex: 0
50 virtual ~NapGoal() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI NapGoal(
57 ::Mob& mob,
58 float cooldownTimeMin,
59 float cooldownTimeMax,
60 float detectMobDistXZ,
61 float detectMobDistY,
62 ::ActorFilterGroup const& canNapFilters,
63 ::ActorFilterGroup const& wakeMobExceptions
64 );
65
66 MCAPI bool _canSleep(::Tick const& currentTick) const;
67
68 MCAPI bool _detectsMobs() const;
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(
75 ::Mob& mob,
76 float cooldownTimeMin,
77 float cooldownTimeMax,
78 float detectMobDistXZ,
79 float detectMobDistY,
80 ::ActorFilterGroup const& canNapFilters,
81 ::ActorFilterGroup const& wakeMobExceptions
82 );
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88
89 // NOLINTEND
90
91public:
92 // virtual function thunks
93 // NOLINTBEGIN
94 MCAPI bool $canUse();
95
96 MCAPI void $start();
97
98 MCAPI void $stop();
99
100 MCAPI bool $canContinueToUse();
101
102 MCAPI void $appendDebugInfo(::std::string& str) const;
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
108 MCAPI static void** $vftable();
109 // NOLINTEND
110};
Definition ActorFilterGroup.h:16
Definition Goal.h:14
Definition Mob.h:47
Definition NapGoal.h:16
Definition Vec3.h:10
Definition Tick.h:5