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 uchar const& DEFAULT_NON_CUBE_PARTICLE_COUNT();
68
69 MCAPI static uchar const& DEFAULT_PARTICLE_COUNT();
70
71 MCAPI static ::std::string const& NameID();
72
73 MCAPI static ::std::string const& ParticleCountID();
74
75 MCAPI static ::std::string const& SchemaID();
76
77 MCAPI static ::std::string const& TextureID();
78
79 MCAPI static ::std::string const& TintMethodID();
80
81 MCAPI static ::SemVersion const& Version1_21_70();
82
83 MCAPI static ::SemVersion const& Version1_21_90();
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCAPI void* $ctor(uchar particleNumber);
90
91 MCAPI void* $ctor(::std::string texture, ::TintMethod tintMethod, uchar particleNumber);
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCFOLD void $dtor();
98 // NOLINTEND
99
100public:
101 // virtual function thunks
102 // NOLINTBEGIN
103 MCAPI ::std::string const& $getName() const;
104
105 MCFOLD void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
106
107 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
108
109
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCNAPI static void** $vftable();
116 // NOLINTEND
117};
Definition BlockComponentStorage.h:58
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