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 ::std::string const& NameID();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::MovementType movableType);
64
65 MCAPI void* $ctor(::MovementType movableType, ::StickyType stickyType);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCFOLD void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCAPI ::std::string const& $getName() const;
78
79 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
80
81 MCFOLD void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition BlockComponentStorage.h:61
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5