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 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI explicit BlockMovableDescription(::MovementType movableType);
42
43 MCAPI BlockMovableDescription(::MovementType movableType, ::StickyType stickyType);
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCAPI static ::MovementType const& DEFAULT_MOVEMENT_TYPE();
56
57 MCAPI static ::StickyType const& DEFAULT_STICKY_TYPE();
58
59 MCAPI static ::std::string const& NameID();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::MovementType movableType);
66
67 MCAPI void* $ctor(::MovementType movableType, ::StickyType stickyType);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI ::std::string const& $getName() const;
74
75 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
76
77 MCFOLD void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
78
79
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition BlockComponentStorage.h:63
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5