3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/particlesystem/particle/ParticleRenderer.h"
7#include "mc/deps/core/container/dense_slot_map.h"
8#include "mc/deps/core/container/slot_map_handle.h"
9#include "mc/deps/core/math/Color.h"
10#include "mc/deps/core/math/Vec3.h"
11#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
30 using ParticleSlotMap = ::Bedrock::dense_slot_map<
31 ::std::unique_ptr<::ParticleSystem::ParticleEmitter>,
34 ::std::allocator<::std::unique_ptr<::ParticleSystem::ParticleEmitter>>>;
42 ::Bedrock::dense_slot_map<
43 ::std::unique_ptr<::ParticleSystem::ParticleEmitter>,
46 ::std::allocator<::std::unique_ptr<::ParticleSystem::ParticleEmitter>>>>
48 ::ll::TypedStorage<8, 24, ::std::vector<::gsl::not_null<::ParticleSystem::ParticleEmitter*>>> mEmitterTickQueue;
49 ::ll::TypedStorage<8, 64, ::ParticleRenderer> mParticleRenderer;
50 ::ll::TypedStorage<1, 1, bool> mLastTickTimeValid;
51 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastTickTime;
52 ::ll::TypedStorage<8, 8, ::ParticleEffectGroup&> mParticleEffectGroup;
53 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::BlockSource>> mBlockSource;
54 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::LightPropagation::LightVolumeManager>> mLightVolumeManager;
55 ::ll::TypedStorage<8, 8, ::LightTexture&> mLightTexture;
56 ::ll::TypedStorage<4, 4096, ::std::array<::std::array<::mce::Color, 16>, 16>> mLightTextureData;
57 ::ll::TypedStorage<4, 4, int> mFramesToInterpolate;
58 ::ll::TypedStorage<1, 1, bool> mBeingDestroyed;
59 ::ll::TypedStorage<8, 8, uint64> mTotalParticleCount;
60 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, uint64>> mEffectEmitterCounts;
61 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, uint64>> mEffectParticleCounts;
62 ::ll::TypedStorage<4, 12, ::Vec3> mLastCameraPosition;
67 ParticleSystemEngine& operator=(ParticleSystemEngine
const&);
68 ParticleSystemEngine(ParticleSystemEngine
const&);
69 ParticleSystemEngine();
74 virtual ~ParticleSystemEngine() ;
80 MCAPI ParticleSystemEngine(
81 ::ParticleEffectGroup& particleEffectGroup,
82 ::BlockSource& region,
83 ::std::weak_ptr<::LightPropagation::LightVolumeManager> lightVolumeManager,
84 ::LightTexture& lightTexture
89 MCAPI ::Bedrock::slot_map_handle<::std::unique_ptr<::ParticleSystem::ParticleEmitter>, 64, 32>
90 createParticleEmitter(
91 ::std::shared_ptr<::ParticleEffectInfo>
const& effectInfo,
92 ::Matrix
const& transform,
93 ::MolangVariableMap molangVariableMap
96 MCAPI ::Bedrock::slot_map_handle<::std::unique_ptr<::ParticleSystem::ParticleEmitter>, 64, 32>
97 createParticleEmitter(::HashedString
const& effectName, ::Vec3
const& pos, ::MolangVariableMap molangVariableMap);
99 MCAPI ::Bedrock::slot_map_handle<::std::unique_ptr<::ParticleSystem::ParticleEmitter>, 64, 32>
100 createParticleEmitter(
101 ::HashedString
const& effectName,
102 ::Matrix
const& transform,
103 ::MolangVariableMap molangVariableMap
106 MCAPI ::Bedrock::slot_map_handle<::std::unique_ptr<::ParticleSystem::ParticleEmitter>, 64, 32>
107 createParticleEmitter(
108 ::HashedString
const& effectName,
109 ::Actor
const& actor,
110 ::HashedString
const& locator,
111 ::Vec3
const& offset,
112 ::MolangVariableMap molangVariableMap
115 MCAPI ::ParticleSystem::ParticleEmitter* getParticleEmitter(
116 ::Bedrock::slot_map_handle<::std::unique_ptr<::ParticleSystem::ParticleEmitter>, 64, 32> emitterHandle
119 MCAPI
void tick(
float a,
bool paused);
126 ::ParticleEffectGroup& particleEffectGroup,
127 ::BlockSource& region,
128 ::std::weak_ptr<::LightPropagation::LightVolumeManager> lightVolumeManager,
129 ::LightTexture& lightTexture
Definition EnableNonOwnerReferences.h:7
Definition BlockSource.h:71
Definition HashedString.h:5
Definition LightVolumeManager.h:7
Definition LightTexture.h:5
Definition MolangVariableMap.h:17
Definition ParticleEffectGroup.h:5
Definition ParticleEffectInfo.h:5
Definition ParticleSystemEngine.h:5
static MCAPI void ** $vftable()
Definition ParticleEmitter.h:7