LeviLamina
Loading...
Searching...
No Matches
PlayDeadGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonSchemaObjectNode.h"
7#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
8#include "mc/world/actor/ai/goal/Goal.h"
9
10// auto generated forward declare list
11// clang-format off
12class Mob;
13namespace JsonUtil { class EmptyClass; }
14// clang-format on
15
16class PlayDeadGoal : public ::Goal {
17public:
18 // PlayDeadGoal inner types declare
19 // clang-format off
20 class Definition;
21 // clang-format on
22
23 // PlayDeadGoal inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
39 Definition& operator=(Definition const&);
40 Definition(Definition const&);
41 Definition();
42
43 public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 0
47 virtual ~Definition() /*override*/ = default;
48 // NOLINTEND
49
50 public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI void addDamageCause(::std::string const& causeCased);
54 // NOLINTEND
55
56 public:
57 // static functions
58 // NOLINTBEGIN
59 MCNAPI static void buildSchema(
60 ::std::string const& name,
62 root
63 );
64 // NOLINTEND
65
66 public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71 };
72
73public:
74 // member variables
75 // NOLINTBEGIN
76 ::ll::TypedStorage<8, 128, ::PlayDeadGoal::Definition> mDefinition;
77 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
78 ::ll::TypedStorage<8, 8, uint64> mPlayDeadDuration;
79 ::ll::TypedStorage<8, 8, uint64> mStopPlayingDeadTime;
80 ::ll::TypedStorage<8, 8, uint64> mLastDamagedTimestamp;
81 ::ll::TypedStorage<1, 1, bool> mPlayDeadOnAllCauses;
82 // NOLINTEND
83
84public:
85 // prevent constructor by default
86 PlayDeadGoal& operator=(PlayDeadGoal const&);
89
90public:
91 // virtual functions
92 // NOLINTBEGIN
93 // vIndex: 1
94 virtual bool canUse() /*override*/;
95
96 // vIndex: 4
97 virtual void start() /*override*/;
98
99 // vIndex: 5
100 virtual void stop() /*override*/;
101
102 // vIndex: 2
103 virtual bool canContinueToUse() /*override*/;
104
105 // vIndex: 7
106 virtual void appendDebugInfo(::std::string& str) const /*override*/;
107
108 // vIndex: 0
109 virtual ~PlayDeadGoal() /*override*/ = default;
110 // NOLINTEND
111
112public:
113 // virtual function thunks
114 // NOLINTBEGIN
115 MCNAPI bool $canUse();
116
117 MCNAPI void $start();
118
119 MCNAPI void $stop();
120
121 MCNAPI bool $canContinueToUse();
122
123 MCNAPI void $appendDebugInfo(::std::string& str) const;
124 // NOLINTEND
125
126public:
127 // vftables
128 // NOLINTBEGIN
129 MCNAPI static void** $vftable();
130 // NOLINTEND
131};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition PlayDeadGoal.h:24
MCAPI void addDamageCause(::std::string const &causeCased)
static MCAPI void buildSchema(::std::string const &name, ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::PlayDeadGoal::Definition > > &root)
static MCAPI void ** $vftable()
Definition PlayDeadGoal.h:16
MCAPI bool $canUse()
MCAPI void $start()
MCAPI bool $canContinueToUse()
static MCAPI void ** $vftable()
MCAPI void $stop()
MCAPI void $appendDebugInfo(::std::string &str) const
Definition Alias.h:14