LeviLamina
Loading...
Searching...
No Matches
BlockSoundDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/NetworkedBlockComponentDescription.h"
7
8// auto generated forward declare list
9// clang-format off
11namespace cereal { struct ReflectionCtx; }
12// clang-format on
13
14struct BlockSoundDescription : public ::NetworkedBlockComponentDescription<::BlockSoundDescription> {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 32, ::std::string> mSoundType;
19 // NOLINTEND
20
21#ifdef LL_PLAT_S
22#else // LL_PLAT_C
23public:
24 // prevent constructor by default
25 BlockSoundDescription();
26
27#endif
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~BlockSoundDescription() /*override*/;
32
33 virtual ::std::string const& getName() const /*override*/;
34
35 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43#ifdef LL_PLAT_C
44 MCAPI explicit BlockSoundDescription(::std::string_view soundType);
45#endif
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#ifdef LL_PLAT_C
64 MCAPI void* $ctor(::std::string_view soundType);
65#endif
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCAPI ::std::string const& $getName() const;
78
79 MCFOLD void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
80
81 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition BlockComponentStorage.h:67
Definition NetworkedBlockComponentDescription.h:6
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5