LeviLamina
Loading...
Searching...
No Matches
EnchantingBookModel.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
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class ScreenContext;
14// clang-format on
15
16class EnchantingBookModel : public ::Model {
17public:
18 // EnchantingBookModel inner types define
19 enum class Part : int {
20 LeftLid = 0,
21 RightLid = 1,
22 LeftPages = 2,
23 RightPages = 3,
24 FlipPage1 = 4,
25 FlipPage2 = 5,
26 Seam = 6,
27 NumParts = 7,
28 };
29
30public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<1, 1, bool> mIsOnLectern;
34 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mDefaultMaterial;
35 ::ll::TypedStorage<8, 4032, ::ModelPart[7]> mBook;
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
40 EnchantingBookModel();
41
42public:
43 // virtual functions
44 // NOLINTBEGIN
45 virtual void render(
46 ::ScreenContext& screenContext,
47 ::Actor& e,
48 float time,
49 float r,
50 float bob,
51 float yRot,
52 float xRot,
53 float scale
54 ) /*override*/;
55
56 virtual void setupAnim(float time, float r, float bob, float yRot, float xRot, float scale) /*override*/;
57
58 virtual ~EnchantingBookModel() /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI explicit EnchantingBookModel(bool isOnLectern);
65
66 MCAPI void
67 render(::ScreenContext& screenContext, float time, float r, float bob, float yRot, float xRot, float scale);
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(bool isOnLectern);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCAPI void $render(
86 ::ScreenContext& screenContext,
87 ::Actor& e,
88 float time,
89 float r,
90 float bob,
91 float yRot,
92 float xRot,
93 float scale
94 );
95
96 MCAPI void $setupAnim(float time, float r, float bob, float yRot, float xRot, float scale);
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCNAPI static void** $vftable();
103 // NOLINTEND
104};
Definition Actor.h:113
Definition EnchantingBookModel.h:5
static MCAPI void ** $vftable()
Definition Model.h:5
Definition ScreenContext.h:5