LeviLamina
Loading...
Searching...
No Matches
BlockDestructionParticlesDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/TintMethod.h"
7#include "mc/world/level/block/components/NetworkedBlockComponentDescription.h"
8
9// auto generated forward declare list
10// clang-format off
12class Experiments;
13class SemVersion;
14namespace Json { class Value; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18struct BlockDestructionParticlesDescription
19: public ::NetworkedBlockComponentDescription<::BlockDestructionParticlesDescription> {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 32, ::std::string> mTexture;
24 ::ll::TypedStorage<1, 1, ::TintMethod> mTintMethod;
25 ::ll::TypedStorage<4, 4, int> mParticleCount;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 BlockDestructionParticlesDescription();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ::std::string const& getName() const /*override*/;
36
37 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
38
39 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
40
41 virtual ~BlockDestructionParticlesDescription() /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI explicit BlockDestructionParticlesDescription(uchar particleNumber);
48
49 MCAPI BlockDestructionParticlesDescription(::std::string texture, ::TintMethod tintMethod, uchar particleNumber);
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
56
57 MCAPI static bool postParseConstraint(
58 ::Experiments const& experiments,
59 ::Json::Value const& componentJson,
60 ::SemVersion const& jsonVersion
61 );
62 // NOLINTEND
63
64public:
65 // static variables
66 // NOLINTBEGIN
67 MCAPI static ::std::string const& NameID();
68
69 MCAPI static ::std::string const& ParticleCountID();
70
71 MCAPI static ::std::string const& SchemaID();
72
73 MCAPI static ::std::string const& TextureID();
74
75 MCAPI static ::std::string const& TintMethodID();
76
77 MCAPI static ::SemVersion const& Version1_21_70();
78
79 MCAPI static ::SemVersion const& Version1_21_90();
80 // NOLINTEND
81
82public:
83 // constructor thunks
84 // NOLINTBEGIN
85 MCAPI void* $ctor(uchar particleNumber);
86
87 MCAPI void* $ctor(::std::string texture, ::TintMethod tintMethod, uchar particleNumber);
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93 MCAPI void $dtor();
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99 MCAPI ::std::string const& $getName() const;
100
101 MCFOLD void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
102
103 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
104
105
106 // NOLINTEND
107
108public:
109 // vftables
110 // NOLINTBEGIN
111 MCNAPI static void** $vftable();
112 // NOLINTEND
113};
Definition BlockComponentStorage.h:61
Definition Experiments.h:14
Definition Value.h:16
Definition NetworkedBlockComponentDescription.h:6
Definition SemVersion.h:15
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5