Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BoatModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/model/geom/ModelPart.h"
7#include "mc/client/model/models/Model.h"
8#include "mc/deps/minecraft_renderer/renderer/MaterialPtr.h"
9#include "mc/deps/shared_types/legacy/Side.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
14class Boat;
15class GeometryPtr;
16class ScreenContext;
17// clang-format on
18
19class BoatModel : public ::Model {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mDefaultMaterial;
24 ::ll::TypedStorage<8, 576, ::ModelPart> mBottom;
25 ::ll::TypedStorage<8, 576, ::ModelPart> mBack;
26 ::ll::TypedStorage<8, 576, ::ModelPart> mFront;
27 ::ll::TypedStorage<8, 576, ::ModelPart> mLeft;
28 ::ll::TypedStorage<8, 576, ::ModelPart> mRight;
29 ::ll::TypedStorage<8, 576, ::ModelPart> mLeftPaddle;
30 ::ll::TypedStorage<8, 576, ::ModelPart> mRightPaddle;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 BoatModel();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~BoatModel() /*override*/;
41
42 virtual void render(
43 ::ScreenContext& screenContext,
44 ::Actor& entity,
45 float time,
46 float r,
47 float bob,
48 float yRot,
49 float xRot,
50 float scale
51 ) /*override*/;
52
53 virtual void setupAnim(float time, float r, float bob, float yRot, float xRot, float scale) /*override*/;
54
55 virtual ::ModelPart _makePaddle(bool flip, ::ModelPart paddle);
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCNAPI explicit BoatModel(::GeometryPtr source);
62
63 MCNAPI void _animatePaddle(
64 ::ModelPart& paddle,
65 ::ScreenContext& screenContext,
66 ::Boat const& boat,
67 ::SharedTypes::Side side,
68 float scale,
69 float a
70 );
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCNAPI void* $ctor(::GeometryPtr source);
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCNAPI void $dtor();
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88 MCNAPI void $render(
89 ::ScreenContext& screenContext,
90 ::Actor& entity,
91 float time,
92 float r,
93 float bob,
94 float yRot,
95 float xRot,
96 float scale
97 );
98
99 MCNAPI void $setupAnim(float time, float r, float bob, float yRot, float xRot, float scale);
100
101 MCNAPI ::ModelPart $_makePaddle(bool flip, ::ModelPart paddle);
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
Definition Actor.h:116
Definition BoatModel.h:5
MCAPI void _animatePaddle(::ModelPart &paddle, ::ScreenContext &screenContext, ::Boat const &boat, ::SharedTypes::Side side, float scale, float a)
MCAPI void * $ctor(::GeometryPtr source)
MCAPI::ModelPart $_makePaddle(bool flip, ::ModelPart paddle)
MCAPI void $render(::ScreenContext &screenContext, ::Actor &entity, float time, float r, float bob, float yRot, float xRot, float scale)
MCAPI void $dtor()
MCAPI BoatModel(::GeometryPtr source)
MCAPI void $setupAnim(float time, float r, float bob, float yRot, float xRot, float scale)
static MCAPI void ** $vftable()
Definition Boat.h:24
Definition GeometryPtr.h:5
Definition ModelPart.h:5
Definition Model.h:5
Definition ScreenContext.h:5