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