LeviLamina
Loading...
Searching...
No Matches
SneezeGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ai/goal/BaseGoal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Mob;
12struct MobDescriptor;
13// clang-format on
14
15class SneezeGoal : public ::BaseGoal {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, int> mCooldown;
20 ::ll::TypedStorage<4, 4, int> mCooldownTimer;
21 ::ll::TypedStorage<4, 4, float> mProbability;
22 ::ll::TypedStorage<4, 4, int> mPreSneezeTimer;
23 ::ll::TypedStorage<4, 4, float> mDropItemChance;
24 ::ll::TypedStorage<8, 32, ::std::string> mLootTable;
25 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSneezeSound;
26 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mPreSneezeSound;
27 ::ll::TypedStorage<4, 4, float> mPrepareTime;
28 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor> const> mReactMobFilters;
29 ::ll::TypedStorage<4, 4, float> mReactWithin;
30 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 SneezeGoal& operator=(SneezeGoal const&);
36 SneezeGoal(SneezeGoal const&);
37 SneezeGoal();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual bool canUse() /*override*/;
43
44 virtual bool canContinueToUse() /*override*/;
45
46 virtual void start() /*override*/;
47
48 virtual void stop() /*override*/;
49
50 virtual void tick() /*override*/;
51
52 virtual void appendDebugInfo(::std::string& str) const /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI SneezeGoal(
59 ::Mob& mob,
60 float cooldownTime,
61 float probability,
62 float dropItemChance,
63 ::std::string const& lootTable,
64 ::std::string const& sneezeSound,
65 ::std::string const& preSneezeSound,
66 float prepareTime,
67 ::std::vector<::MobDescriptor> const& reactMobFilters,
68 float reactWithin
69 );
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(
76 ::Mob& mob,
77 float cooldownTime,
78 float probability,
79 float dropItemChance,
80 ::std::string const& lootTable,
81 ::std::string const& sneezeSound,
82 ::std::string const& preSneezeSound,
83 float prepareTime,
84 ::std::vector<::MobDescriptor> const& reactMobFilters,
85 float reactWithin
86 );
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCAPI bool $canUse();
93
94 MCAPI bool $canContinueToUse();
95
96 MCAPI void $start();
97
98 MCAPI void $stop();
99
100 MCAPI void $tick();
101
102 MCAPI void $appendDebugInfo(::std::string& str) const;
103
104
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCNAPI static void** $vftable();
111 // NOLINTEND
112};
Definition Mob.h:57
static MCAPI void ** $vftable()
Definition MobDescriptor.h:13