LeviLamina
Loading...
Searching...
No Matches
Boat.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/input/InputMode.h"
7#include "mc/input/NewInteractionModel.h"
8#include "mc/world/actor/Actor.h"
9#include "mc/world/actor/ActorInitializationMethod.h"
10
11// auto generated forward declare list
12// clang-format off
15class EntityContext;
17struct ActorUniqueID;
19// clang-format on
20
21class Boat : public ::Actor {
22public:
23 // member variables
24 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 Boat& operator=(Boat const&);
33 Boat(Boat const&);
34 Boat();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 2
40 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
41
42 // vIndex: 3
43 virtual void reloadHardcodedClient(::ActorInitializationMethod method) /*override*/;
44
45 // vIndex: 138
46 virtual void destroy(::Actor* source);
47
48 // vIndex: 24
49 virtual void normalTick() /*override*/;
50
51 // vIndex: 35
52 virtual float getShadowRadius() const /*override*/;
53
54 // vIndex: 29
55 virtual ::std::string getExitTip(::std::string const& kind, ::InputMode mode, ::NewInteractionModel scheme) const
56 /*override*/;
57
58 // vIndex: 94
59 virtual bool canAddPassenger(::Actor& passenger) const /*override*/;
60
61 // vIndex: 91
62 virtual ::ActorUniqueID getControllingPlayer() const /*override*/;
63
64 // vIndex: 115
65 virtual float getPassengerYRotation(::Actor const& passenger) const /*override*/;
66
67 // vIndex: 64
68 virtual bool isInvulnerableTo(::ActorDamageSource const& source) const /*override*/;
69
70 // vIndex: 135
71 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
72
73 // vIndex: 8
74 virtual ~Boat() /*override*/ = default;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI Boat(
81 ::ActorDefinitionGroup* definitions,
82 ::ActorDefinitionIdentifier const& definitionName,
83 ::EntityContext& entityContext
84 );
85
86 MCFOLD uchar getWoodID() const;
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92 MCAPI void* $ctor(
93 ::ActorDefinitionGroup* definitions,
94 ::ActorDefinitionIdentifier const& definitionName,
95 ::EntityContext& entityContext
96 );
97 // NOLINTEND
98
99public:
100 // destructor thunk
101 // NOLINTBEGIN
102
103 // NOLINTEND
104
105public:
106 // virtual function thunks
107 // NOLINTBEGIN
108 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
109
110 MCAPI void $reloadHardcodedClient(::ActorInitializationMethod method);
111
112 MCAPI void $destroy(::Actor* source);
113
114 MCAPI void $normalTick();
115
116 MCFOLD float $getShadowRadius() const;
117
118 MCAPI ::std::string $getExitTip(::std::string const& kind, ::InputMode mode, ::NewInteractionModel scheme) const;
119
120 MCAPI bool $canAddPassenger(::Actor& passenger) const;
121
122 MCAPI ::ActorUniqueID $getControllingPlayer() const;
123
124 MCAPI float $getPassengerYRotation(::Actor const& passenger) const;
125
126 MCFOLD bool $isInvulnerableTo(::ActorDamageSource const& source) const;
127
128 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
129 // NOLINTEND
130
131public:
132 // vftables
133 // NOLINTBEGIN
134 MCAPI static void** $vftable();
135 // NOLINTEND
136};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:27
Definition Actor.h:104
Definition Boat.h:21
Definition EntityContext.h:16
Definition ActorDefinitionIdentifier.h:13
Definition ActorUniqueID.h:5
Definition VariantParameterList.h:5
Definition Alias.h:14