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 // virtual functions
30 // NOLINTBEGIN
31 virtual ::std::string const& getName() const /*override*/;
32
33 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
34
35 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI BlockDestructionParticlesDescription();
42
43 MCAPI explicit BlockDestructionParticlesDescription(uchar particleNumber);
44
45 MCAPI BlockDestructionParticlesDescription(::std::string texture, ::TintMethod tintMethod, uchar particleNumber);
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
52
53 MCAPI static bool postParseConstraint(
54 ::Experiments const& experiments,
55 ::Json::Value const& componentJson,
56 ::SemVersion const& jsonVersion
57 );
58 // NOLINTEND
59
60public:
61 // static variables
62 // NOLINTBEGIN
63 MCAPI static uchar const& DEFAULT_NON_CUBE_PARTICLE_COUNT();
64
65 MCAPI static uchar const& DEFAULT_PARTICLE_COUNT();
66
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();
86
87 MCAPI void* $ctor(uchar particleNumber);
88
89 MCAPI void* $ctor(::std::string texture, ::TintMethod tintMethod, uchar particleNumber);
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95 MCAPI ::std::string const& $getName() const;
96
97 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
98
99 MCAPI void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
100
101
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
Definition BlockComponentStorage.h:63
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