3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/comprehensive/ParticleType.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/core/utility/pub_sub/Subscription.h"
9#include "mc/world/ParticleSystemInterface.h"
28 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LevelRendererPlayer const>> mLevelRendererPlayer;
29 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ParticleEngine>> mParticleEngine;
30 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ParticleSystemEngine>> mParticleSystemEngine;
31 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mViewDistanceSubscription;
32 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mParticleViewDistanceSubscription;
33 ::ll::TypedStorage<4, 4, int> mViewDistance;
34 ::ll::TypedStorage<4, 4, float> mParticleViewDistance;
39 ParticleSystemInterfaceProxy();
44 virtual ~ParticleSystemInterfaceProxy() =
default;
46 virtual float getDistanceToCameraSqr(::Vec3
const& pos)
const ;
48 virtual int getViewDistanceChunks() const ;
50 virtual
float getParticleViewDistance() const ;
52 virtual ::Particle* instance(
57 ::CompoundTag const* tag
60 virtual
void addParticleEffect(
61 ::HashedString const& effect,
62 ::Vec3 const& emitterPosition,
63 ::MolangVariableMap const& molangVariables
70 MCAPI ParticleSystemInterfaceProxy(
71 ::LevelRendererPlayer const& levelRendererPlayer,
73 ::std::unique_ptr<::ParticleEngine> particleEngine,
74 ::std::unique_ptr<::ParticleSystemEngine> particleSystemEngine
82 ::LevelRendererPlayer const& levelRendererPlayer,
84 ::std::unique_ptr<::ParticleEngine> particleEngine,
85 ::std::unique_ptr<::ParticleSystemEngine> particleSystemEngine
92 MCAPI
float $getDistanceToCameraSqr(::Vec3 const& pos) const;
94 MCFOLD
int $getViewDistanceChunks() const;
96 MCAPI
float $getParticleViewDistance() const;
99 $instance(::ParticleType type, ::Vec3 const& pos, ::Vec3 const& dir,
int data, ::CompoundTag const* tag);
101 MCAPI
void $addParticleEffect(
102 ::HashedString const& effect,
103 ::Vec3 const& emitterPosition,
104 ::MolangVariableMap const& molangVariables
Definition CompoundTag.h:23
Definition HashedString.h:5
Definition LevelRendererPlayer.h:5
Definition MolangVariableMap.h:17
Definition ParticleEngine.h:5
Definition ParticleSystemEngine.h:5
Definition ParticleSystemInterfaceProxy.h:5
static MCAPI void ** $vftable()
Definition ParticleSystemInterface.h:17