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
25 ::ll::TypedStorage<4, 4, float> mBubbleMultiplier;
26 ::ll::TypedStorage<4, 4, float> mBubbleAngle;
27 ::ll::TypedStorage<4, 4, float> mBubbleAngleOld;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 Boat();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 2
38 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
39
40 // vIndex: 3
41 virtual void reloadHardcodedClient(::ActorInitializationMethod method) /*override*/;
42
43 // vIndex: 138
44 virtual void destroy(::Actor* source);
45
46 // vIndex: 24
47 virtual void normalTick() /*override*/;
48
49 // vIndex: 35
50 virtual float getShadowRadius() const /*override*/;
51
52 // vIndex: 29
53 virtual ::std::string getExitTip(::std::string const& kind, ::InputMode mode, ::NewInteractionModel scheme) const
54 /*override*/;
55
56 // vIndex: 94
57 virtual bool canAddPassenger(::Actor& passenger) const /*override*/;
58
59 // vIndex: 91
60 virtual ::ActorUniqueID getControllingPlayer() const /*override*/;
61
62 // vIndex: 115
63 virtual float getPassengerYRotation(::Actor const& passenger) const /*override*/;
64
65 // vIndex: 64
66 virtual bool isInvulnerableTo(::ActorDamageSource const& source) const /*override*/;
67
68 // vIndex: 135
69 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
70
71 // vIndex: 8
72 virtual ~Boat() /*override*/ = default;
73 // NOLINTEND
74
75public:
76 // member functions
77 // NOLINTBEGIN
78 MCAPI Boat(
79 ::ActorDefinitionGroup* definitions,
80 ::ActorDefinitionIdentifier const& definitionName,
81 ::EntityContext& entityContext
82 );
83
84 MCFOLD uchar getWoodID() const;
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor(
91 ::ActorDefinitionGroup* definitions,
92 ::ActorDefinitionIdentifier const& definitionName,
93 ::EntityContext& entityContext
94 );
95 // NOLINTEND
96
97public:
98 // virtual function thunks
99 // NOLINTBEGIN
100 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
101
102 MCAPI void $reloadHardcodedClient(::ActorInitializationMethod method);
103
104 MCAPI void $destroy(::Actor* source);
105
106 MCAPI void $normalTick();
107
108 MCFOLD float $getShadowRadius() const;
109
110 MCAPI ::std::string $getExitTip(::std::string const& kind, ::InputMode mode, ::NewInteractionModel scheme) const;
111
112 MCAPI bool $canAddPassenger(::Actor& passenger) const;
113
114 MCAPI ::ActorUniqueID $getControllingPlayer() const;
115
116 MCAPI float $getPassengerYRotation(::Actor const& passenger) const;
117
118 MCFOLD bool $isInvulnerableTo(::ActorDamageSource const& source) const;
119
120 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
121 // NOLINTEND
122
123public:
124 // vftables
125 // NOLINTBEGIN
126 MCNAPI static void** $vftable();
127 // NOLINTEND
128};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:29
Definition Actor.h:103
Definition Boat.h:21
static MCAPI void ** $vftable()
Definition EntityContext.h:16
Definition ActorDefinitionIdentifier.h:15
Definition ActorUniqueID.h:5
Definition VariantParameterList.h:5