LeviLamina
Loading...
Searching...
No Matches
BlockMovableDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/BlockComponentDescription.h"
7#include "mc/world/level/block/components/MovementType.h"
8#include "mc/world/level/block/components/StickyType.h"
9
10// auto generated forward declare list
11// clang-format off
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
16struct BlockMovableDescription : public ::BlockComponentDescription {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, ::MovementType> mMovementType;
21 ::ll::TypedStorage<1, 1, ::StickyType> mStickyType;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 BlockMovableDescription();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::std::string const& getName() const /*override*/;
32
33 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
34
35 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 virtual ~BlockMovableDescription() /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI explicit BlockMovableDescription(::MovementType movableType);
44
45 MCAPI BlockMovableDescription(::MovementType movableType, ::StickyType stickyType);
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
52 // NOLINTEND
53
54public:
55 // static variables
56 // NOLINTBEGIN
57 MCAPI static ::MovementType const& DEFAULT_MOVEMENT_TYPE();
58
59 MCAPI static ::StickyType const& DEFAULT_STICKY_TYPE();
60
61 MCAPI static ::std::string const& NameID();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::MovementType movableType);
68
69 MCAPI void* $ctor(::MovementType movableType, ::StickyType stickyType);
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCFOLD void $dtor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI ::std::string const& $getName() const;
82
83 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
84
85 MCFOLD void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
86
87
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition BlockComponentStorage.h:58
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5