Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ParticleEffectData_Legacy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7
8// auto generated forward declare list
9// clang-format off
11namespace ParticleSystem { class EmitterInitialComponentBase; }
12namespace ParticleSystem { class EmitterLifetimeComponentBase; }
13namespace ParticleSystem { class EmitterRateComponentBase; }
14namespace ParticleSystem { class EmitterShapeComponentBase; }
15namespace ParticleSystem { class ParticleAppearanceComponentBase; }
16namespace ParticleSystem { class ParticleCurveBase; }
17namespace ParticleSystem { class ParticleEffectComponentRegistry; }
18namespace ParticleSystem { class ParticleEventNode; }
19namespace ParticleSystem { class ParticleInitialComponentBase; }
20namespace ParticleSystem { class ParticleLifetimeComponentBase; }
21namespace ParticleSystem { class ParticleMotionComponentBase; }
22namespace SharedTypes::v1_20_80 { struct ParticleEffectData; }
23// clang-format on
24
25namespace ParticleSystem {
26
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<
32 8,
33 64,
34 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::EmitterInitialComponentBase>>>
35 mEmitterInitialComponents;
36 ::ll::TypedStorage<
37 8,
38 64,
39 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::EmitterLifetimeComponentBase>>>
40 mEmitterLifetimeComponents;
41 ::ll::TypedStorage<
42 8,
43 64,
44 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::EmitterRateComponentBase>>>
45 mEmitterRateComponents;
46 ::ll::TypedStorage<
47 8,
48 64,
49 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::EmitterShapeComponentBase>>>
50 mEmitterShapeComponents;
51 ::ll::TypedStorage<
52 8,
53 64,
54 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::ParticleAppearanceComponentBase>>>
55 mParticleAppearanceComponents;
56 ::ll::TypedStorage<
57 8,
58 64,
59 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::ParticleInitialComponentBase>>>
60 mParticleInitialComponents;
61 ::ll::TypedStorage<
62 8,
63 64,
64 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::ParticleLifetimeComponentBase>>>
65 mParticleLifetimeComponents;
66 ::ll::TypedStorage<
67 8,
68 64,
69 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::ParticleMotionComponentBase>>>
70 mParticleMotionComponents;
71 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::ParticleSystem::ParticleCurveBase>>> mParticleCurves;
72 ::ll::TypedStorage<
73 8,
74 64,
75 ::std::unordered_map<::HashedString, ::std::unique_ptr<::ParticleSystem::ParticleEventNode>>>
76 mParticleEvents;
77 ::ll::TypedStorage<8, 32, ::std::string> mName;
78 ::ll::TypedStorage<8, 48, ::HashedString> mMaterialNameHash;
79 ::ll::TypedStorage<8, 32, ::std::string> mTextureName;
80 // NOLINTEND
81
82public:
83 // prevent constructor by default
84 ParticleEffectData_Legacy& operator=(ParticleEffectData_Legacy const&);
85 ParticleEffectData_Legacy(ParticleEffectData_Legacy const&);
86
87public:
88 // member functions
89 // NOLINTBEGIN
90 MCAPI ParticleEffectData_Legacy();
91
92 MCAPI ParticleEffectData_Legacy(::ParticleSystem::ParticleEffectData_Legacy&& other);
93
94 MCAPI void _extractComponents(
95 ::ConstDeserializeDataParams const& deserializeDataParams,
96 ::ParticleSystem::ParticleEffectComponentRegistry const& particleComponentRegistry
97 );
98
99 MCAPI ~ParticleEffectData_Legacy();
100 // NOLINTEND
101
102public:
103 // static functions
104 // NOLINTBEGIN
105 MCAPI static ::SharedTypes::v1_20_80::ParticleEffectData
106 upgrade(::ParticleSystem::ParticleEffectData_Legacy&& legacyData);
107 // NOLINTEND
108
109public:
110 // constructor thunks
111 // NOLINTBEGIN
112 MCAPI void* $ctor();
113
114 MCAPI void* $ctor(::ParticleSystem::ParticleEffectData_Legacy&& other);
115 // NOLINTEND
116
117public:
118 // destructor thunk
119 // NOLINTBEGIN
120 MCAPI void $dtor();
121 // NOLINTEND
122};
123
124} // namespace ParticleSystem
Definition EmitterInitialComponentBase.h:7
Definition EmitterLifetimeComponentBase.h:7
Definition EmitterRateComponentBase.h:7
Definition EmitterShapeComponentBase.h:7
Definition ParticleAppearanceComponentBase.h:7
Definition ParticleCurveBase.h:7
Definition ParticleEffectComponentRegistry.h:7
Definition ParticleEventNode.h:7
Definition ParticleInitialComponentBase.h:7
Definition ParticleLifetimeComponentBase.h:7
Definition ParticleMotionComponentBase.h:7
Definition ConstDeserializeDataParams.h:15
Definition ParticleEffectData_Legacy.h:7
Definition ParticleEffectData.h:19