LeviLamina
Loading...
Searching...
No Matches
EmitterShapeBoxComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/particlesystem/particle/components/EmitterShapeComponentBase.h"
7#include "mc/util/molang/ExpressionNode.h"
8
9// auto generated forward declare list
10// clang-format off
11class RenderParams;
12class Vec3;
14namespace ParticleSystem { class ComponentAccessParticleEmitter; }
15namespace SharedTypes::v1_20_80 { struct ParticleEffectComponent; }
16// clang-format on
17
18namespace ParticleSystem {
19
20class EmitterShapeBoxComponent : public ::ParticleSystem::EmitterShapeComponentBase {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 48, ::ExpressionNode[3]> mOffsetExpr;
25 ::ll::TypedStorage<8, 48, ::ExpressionNode[3]> mHalfDimensions;
26 ::ll::TypedStorage<1, 1, bool> mSurfaceOnly;
27 ::ll::TypedStorage<1, 1, bool> mDirectionInwards;
28 ::ll::TypedStorage<1, 1, bool> mDirectionOutwards;
29 ::ll::TypedStorage<8, 48, ::ExpressionNode[3]> mDirectionExpr;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void initializeFromData(::SharedTypes::v1_20_80::ParticleEffectComponent& data) /*override*/;
36
37 virtual void upgradeToSharedTypes(::SharedTypes::v1_20_80::ParticleEffectComponent& data) /*override*/;
38
39 virtual void parseJson(::ConstDeserializeDataParams const& deserializeDataParams) /*override*/;
40
41 virtual void getNextParticleSpawnOffsetAndDirection(
42 ::Vec3& offset,
43 ::Vec3& direction,
44 ::ParticleSystem::ComponentAccessParticleEmitter const& emitter,
45 ::RenderParams& renderParams
46 ) /*override*/;
47
48 virtual ~EmitterShapeBoxComponent() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI void $initializeFromData(::SharedTypes::v1_20_80::ParticleEffectComponent& data);
55
56 MCAPI void $upgradeToSharedTypes(::SharedTypes::v1_20_80::ParticleEffectComponent& data);
57
58 MCAPI void $parseJson(::ConstDeserializeDataParams const& deserializeDataParams);
59
60 MCAPI void $getNextParticleSpawnOffsetAndDirection(
61 ::Vec3& offset,
62 ::Vec3& direction,
63 ::ParticleSystem::ComponentAccessParticleEmitter const& emitter,
64 ::RenderParams& renderParams
65 );
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
74
75} // namespace ParticleSystem
Definition ComponentAccessParticleEmitter.h:7
Definition EmitterShapeBoxComponent.h:7
Definition RenderParams.h:30
Definition Vec3.h:10
Definition ConstDeserializeDataParams.h:13
Definition ParticleEffectComponent.h:12