3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/game/LevelRendererCameraListeners.h"
7#include "mc/common/SubClientId.h"
8#include "mc/comprehensive/ParticleType.h"
9#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11#include "mc/deps/shared_types/legacy/LevelEvent.h"
12#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
13#include "mc/world/level/FogDefinition.h"
60namespace mce {
class Camera; }
61namespace mce {
class Color; }
80 ::ll::UntypedStorage<8, 48> mUnkbe176a;
81 ::ll::UntypedStorage<4, 16> mUnkab2292;
86 BiomeParticleKey& operator=(BiomeParticleKey
const&);
87 BiomeParticleKey(BiomeParticleKey
const&);
105 struct SkyColorLerp {
117 SkyColorLerp& operator=(SkyColorLerp
const&);
118 SkyColorLerp(SkyColorLerp
const&);
125 ::ll::UntypedStorage<4, 4> mUnkc9ba13;
126 ::ll::UntypedStorage<4, 4> mUnk30a445;
127 ::ll::UntypedStorage<4, 4> mUnk3b6e4b;
128 ::ll::UntypedStorage<8, 16> mUnk6baa01;
129 ::ll::UntypedStorage<8, 16> mUnkd62011;
130 ::ll::UntypedStorage<8, 16> mUnke3fa18;
131 ::ll::UntypedStorage<8, 8> mUnka1508d;
132 ::ll::UntypedStorage<8, 8> mUnk74e07d;
133 ::ll::UntypedStorage<1, 1> mUnk3e1123;
134 ::ll::UntypedStorage<4, 12> mUnkf3a503;
135 ::ll::UntypedStorage<1, 1> mUnk8273f0;
136 ::ll::UntypedStorage<4, 4> mUnkcd7b78;
137 ::ll::UntypedStorage<4, 4> mUnke6b0c6;
138 ::ll::UntypedStorage<4, 336> mUnk6d7d26;
139 ::ll::UntypedStorage<8, 64> mUnk346545;
140 ::ll::UntypedStorage<8, 64> mUnk83e3ca;
141 ::ll::UntypedStorage<8, 8> mUnkf4b55c;
142 ::ll::UntypedStorage<4, 4> mUnkdb8fd7;
143 ::ll::UntypedStorage<4, 4> mUnk2ab7cc;
144 ::ll::UntypedStorage<4, 280> mUnk797f4b;
145 ::ll::UntypedStorage<4, 4> mUnkf82b5f;
146 ::ll::UntypedStorage<4, 4> mUnk5a4dd5;
147 ::ll::UntypedStorage<4, 4> mUnk80a9df;
148 ::ll::UntypedStorage<4, 4> mUnkbcf98a;
149 ::ll::UntypedStorage<4, 4> mUnk799cc1;
150 ::ll::UntypedStorage<4, 4> mUnkba5036;
151 ::ll::UntypedStorage<4, 4> mUnk4837aa;
152 ::ll::UntypedStorage<4, 4> mUnkf8e793;
153 ::ll::UntypedStorage<4, 4> mUnk88fa78;
154 ::ll::UntypedStorage<4, 4> mUnkbc7a17;
155 ::ll::UntypedStorage<4, 4> mUnk1ecfdb;
156 ::ll::UntypedStorage<4, 4> mUnk66b0dd;
157 ::ll::UntypedStorage<4, 4> mUnkef2399;
158 ::ll::UntypedStorage<4, 4> mUnk848d03;
159 ::ll::UntypedStorage<4, 4> mUnk3c3885;
160 ::ll::UntypedStorage<4, 4> mUnk8603b8;
161 ::ll::UntypedStorage<8, 16> mUnk8e936a;
162 ::ll::UntypedStorage<8, 16> mUnk39cea2;
163 ::ll::UntypedStorage<8, 16> mUnk547ad3;
164 ::ll::UntypedStorage<8, 16> mUnkaad125;
165 ::ll::UntypedStorage<8, 16> mUnk582c38;
166 ::ll::UntypedStorage<8, 16> mUnkf6fa16;
167 ::ll::UntypedStorage<8, 16> mUnk7a569e;
168 ::ll::UntypedStorage<8, 16> mUnkc595ae;
169 ::ll::UntypedStorage<8, 16> mUnkcee03a;
170 ::ll::UntypedStorage<8, 8> mUnk1d6657;
171 ::ll::UntypedStorage<8, 24> mUnk3d8c91;
172 ::ll::UntypedStorage<8, 64> mUnk7da009;
173 ::ll::UntypedStorage<8, 8> mUnk5885fc;
174 ::ll::UntypedStorage<8, 24> mUnk80a116;
175 ::ll::UntypedStorage<8, 8> mUnk216385;
176 ::ll::UntypedStorage<8, 24> mUnkc063fe;
177 ::ll::UntypedStorage<8, 8> mUnkf00779;
178 ::ll::UntypedStorage<8, 8> mUnk4f9041;
179 ::ll::UntypedStorage<4, 48> mUnkb5014f;
180 ::ll::UntypedStorage<4, 12> mUnk47404f;
181 ::ll::UntypedStorage<4, 12> mUnk91efcd;
182 ::ll::UntypedStorage<4, 12> mUnkd66ac3;
183 ::ll::UntypedStorage<8, 8> mUnkbd5fc8;
184 ::ll::UntypedStorage<8, 64> mUnk435dd6;
185 ::ll::UntypedStorage<4, 56> mUnk1d40dc;
186 ::ll::UntypedStorage<4, 4> mUnk603e7b;
187 ::ll::UntypedStorage<8, 16> mUnk1379ef;
188 ::ll::UntypedStorage<8, 16> mUnk1071cd;
189 ::ll::UntypedStorage<8, 16> mUnk7d5ad1;
190 ::ll::UntypedStorage<8, 16> mUnk175598;
191 ::ll::UntypedStorage<8, 16> mUnk5b149d;
192 ::ll::UntypedStorage<8, 8> mUnk226ab5;
193 ::ll::UntypedStorage<8, 640> mUnkb0a4ef;
198 LevelRendererPlayer& operator=(LevelRendererPlayer
const&);
199 LevelRendererPlayer(LevelRendererPlayer
const&);
200 LevelRendererPlayer();
205 virtual ~LevelRendererPlayer() ;
207 virtual void initResources() ;
209 virtual void frameUpdate(::ClientFrameUpdateContext& clientFrameUpdateContext) ;
211 virtual void tickLevelRendererCamera() ;
213 virtual void tickRain() ;
215 virtual void onWillChangeDimension(::Player& player) ;
217 virtual void onDimensionChanged(::Player& player) ;
219 virtual void recalculateRenderDistance(
float const renderDistanceScalar) ;
221 virtual void preRenderUpdate(
222 ::ScreenContext& screenContext,
223 ::LevelRenderPreRenderUpdateParameters& levelRenderPreRenderUpdateParameters
226 virtual void renderBlockEntities(::BaseActorRenderContext& renderContext,
bool renderAlphaLayer) ;
229 updateViewArea(::LevelRenderPreRenderUpdateParameters
const& levelRenderPreRenderUpdateParameters) ;
231 virtual ::NameTagRenderObjectCollection extractNameTags(::ScreenContext& screenContext)
const ;
234 callRenderNameTags(::ScreenContext& screenContext, ::ViewRenderObject
const& renderObj, ::Font& font) ;
236 virtual ::CrackRenderObjectCollection extractCracks(::ScreenContext& screenContext)
const ;
239 callRenderCracks(::BaseActorRenderContext& renderContext, ::ViewRenderObject
const& renderObj) ;
241 virtual bool getForceFog(::Actor
const& cameraActor)
const ;
243 virtual void setupFog(::ScreenContext& screenContext,
float const skyIntensityOverride) ;
245 virtual void levelEvent(::SharedTypes::Legacy::LevelEvent type, ::Vec3
const& pos,
int data) ;
247 virtual void levelEvent(::SharedTypes::Legacy::LevelEvent type, ::CompoundTag
const& data) ;
249 virtual void addCameraListenerToRenderChunkCoordinator() ;
252 notifyGeoChangedForAffectedEntities(::RenderChunkShared& renderChunkShared, uchar version) ;
254 virtual void addTerrainParticleEffect(
255 ::BlockPos
const& pos,
256 ::Block
const& block,
257 ::Vec3
const& emitterPosition,
259 float velocityScalar,
263 virtual void addTerrainSlideEffect(
264 ::BlockPos
const& pos,
265 ::Block
const& block,
266 ::Vec3
const& emitterPosition,
268 float velocityScalar,
272 virtual void addBreakingItemParticleEffect(
274 ::BreakingItemParticleData
const& data,
275 ::ResolvedItemIconInfo
const& textureInfo
278 virtual void addBiomeTintedParticleEffect(
279 ::HashedString
const& effect,
280 ::BlockPos
const& pos,
281 ::Block
const& block,
282 ::std::optional<::mce::Color> overrideColor
285 virtual float getUnderwaterVisionClarity();
287 virtual ::FogDefinition::DistanceSettingType _getFogDistanceSettingType() const ;
289 virtual ::FogDefinition::DensitySettingType _getFogDensitySettingType() const ;
291 virtual
void _releaseRespectiveResources() ;
293 virtual
void queueRenderEntities(
294 ::LevelRenderPreRenderUpdateParameters const& levelRenderPreRenderUpdateParameters
297 virtual
void renderEntityEffects(::BaseActorRenderContext& renderContext) ;
303 MCNAPI LevelRendererPlayer(
310 ::Bedrock::NotNullNonOwnerPtr<::
TextureAtlas const> const& terrainTexture,
317 ::
Block const& block,
318 ::
Vec3 const& emitterPosition,
320 float velocityScalar,
328 ::mce::framebuilder::SkyWeatherParameters const& skyWeatherParams,
341 ::SharedTypes::Legacy::LevelSoundEvent eventType,
355 ::
Block const& block,
357 bool renderSecondPart,
363 ::
Block const& block,
369 ::SharedTypes::Legacy::LevelSoundEvent eventType,
370 ::SharedTypes::Legacy::LevelSoundEvent backupEventType,
395 ::
Block const& block,
397 float destroyProgress
408 MCNAPI
float getFov(
float a,
bool enableVariableFOV) const;
412 MCNAPI
void playSound(::
std::
string const& name, ::
Vec3 const& pos,
float volume,
float pitch) const;
431 ::SharedTypes::Legacy::LevelSoundEvent& eventType,
434 ::
std::
string const& blockType,
473 ::Bedrock::NotNullNonOwnerPtr<::
TextureAtlas const> const& terrainTexture,
522 MCNAPI
void $levelEvent(::SharedTypes::Legacy::LevelEvent type, ::
Vec3 const& pos,
int data);
532 ::
Block const& block,
533 ::
Vec3 const& emitterPosition,
535 float velocityScalar,
541 ::
Block const& block,
542 ::
Vec3 const& emitterPosition,
544 float velocityScalar,
557 ::
Block const& block,
558 ::
std::optional<::mce::Color> overrideColor
Definition ActorSoundIdentifier.h:17
Definition BaseActorRenderContext.h:34
Definition EnableNonOwnerReferences.h:7
Definition BlockActor.h:32
Definition BlockSource.h:68
Definition CompoundTag.h:23
Definition EntityContext.h:16
Definition HashedString.h:5
Definition IClientInstance.h:5
Definition LevelRendererCameraListeners.h:5
Definition LevelRendererPlayer.h:5
static MCAPI void ** $vftable()
MCAPI void updateDestroyBlock(::BlockPos const &tp, float destroyRate)
MCAPI void $levelEvent(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const &pos, int data)
MCAPI void $preRenderUpdate(::ScreenContext &screenContext, ::LevelRenderPreRenderUpdateParameters &levelRenderPreRenderUpdateParameters)
MCAPI void _renderHighlightSelection(::BaseActorRenderContext &renderContext, ::BlockSource ®ion, ::Block const &block, ::BlockPos const &pos, bool renderSecondPart, bool fancyGraphics) const
MCAPI void _spawnSmokeParticles(::ParticleType particleType, ::Vec3 const &pos, int data)
MCAPI void updateDestroyProgress()
static MCAPI void ** $vftableForLevelListener()
MCAPI void setupCamera(::mce::Camera &camera, float)
MCAPI void $addCameraListenerToRenderChunkCoordinator()
MCAPI void $addBreakingItemParticleEffect(::Vec3 const &pos, ::BreakingItemParticleData const &data, ::ResolvedItemIconInfo const &textureInfo)
MCAPI void stopSound(::std::string const &name)
MCAPI void _onLevelSoundEvent(::SharedTypes::Legacy::LevelSoundEvent eventType, ::Vec3 const &pos, int data, ::ActorSoundIdentifier const &actorSoundIdentifier, bool isGlobal)
MCAPI void updateUnderWaterVisionScale()
MCAPI void $callRenderNameTags(::ScreenContext &screenContext, ::ViewRenderObject const &renderObj, ::Font &font)
MCAPI void $queueRenderEntities(::LevelRenderPreRenderUpdateParameters const &levelRenderPreRenderUpdateParameters)
MCAPI void _addTerrainEffect(::HashedString const &effectName, ::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
MCAPI::DirectionalLightRenderData getActiveDirectionalLight() const
MCAPI void updateListenerState(float alpha)
MCAPI::FogDefinition::DistanceSettingType $_getFogDistanceSettingType() const
MCAPI void $renderEntityEffects(::BaseActorRenderContext &renderContext)
MCAPI::SkyRenderObject _extractSky(::ScreenContext &screenContext) const
MCAPI void tickSkyColor()
MCAPI bool blockCanHaveCracksOverlay(::Block const &block) const
MCAPI bool $getForceFog(::Actor const &cameraActor) const
static MCAPI void ** $vftableForPlayerListener()
MCAPI void $recalculateRenderDistance(float const renderDistanceScalar)
MCAPI void $addBiomeTintedParticleEffect(::HashedString const &effect, ::BlockPos const &pos, ::Block const &block, ::std::optional<::mce::Color > overrideColor)
MCAPI void $callRenderCracks(::BaseActorRenderContext &renderContext, ::ViewRenderObject const &renderObj)
MCAPI void $onWillChangeDimension(::Player &player)
MCAPI void $frameUpdate(::ClientFrameUpdateContext &clientFrameUpdateContext)
MCAPI void $onDimensionChanged(::Player &player)
static MCAPI float getActorShadowOffset(::EntityContext const &entity)
MCAPI void $addTerrainParticleEffect(::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
MCAPI void tryReassignSound(::SharedTypes::Legacy::LevelSoundEvent &eventType, ::Sound &s, ::ActorSoundIdentifier const &actorSoundIdentifier, ::std::string const &blockType, ::Random &rand)
MCAPI::Sound const & _retrieveActorSoundWithFallback(::SharedTypes::Legacy::LevelSoundEvent eventType, ::SharedTypes::Legacy::LevelSoundEvent backupEventType, ::ActorSoundIdentifier const &actorSoundIdentifier)
MCAPI void ensureItemInHandRenderingParametersInitialized(::mce::Camera &camera)
MCAPI void $tickLevelRendererCamera()
MCAPI::FogDefinition::DensitySettingType $_getFogDensitySettingType() const
MCAPI void $_releaseRespectiveResources()
MCAPI::CrackRenderObjectCollection $extractCracks(::ScreenContext &screenContext) const
MCAPI void addDestroyBlock(::BlockPos const &tp, float destroyRate)
MCAPI void $initResources()
MCAPI float getFovWithoutGameplay() const
MCAPI::ViewRenderObject createViewRenderObject(::ScreenContext &screenContext, ::SubClientId clientSubId)
MCAPI void $addTerrainSlideEffect(::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
MCAPI void $setupFog(::ScreenContext &screenContext, float const skyIntensityOverride)
static MCAPI ::TextureUVCoordinateSet getDestructionParticlesTexture(::IRandom &random, ::Block const &block)
MCAPI::CrackRenderObject createCrackRenderObject(::ScreenContext &screenContext, ::BlockSource ®ion, ::Block const &block, ::BlockPos const &h, float destroyProgress) const
MCAPI void $notifyGeoChangedForAffectedEntities(::RenderChunkShared &renderChunkShared, uchar version)
MCAPI void bobView(::Matrix &mv, float a)
MCAPI void tickClouds(bool tessellateBothSides, float a)
MCAPI void emitGrowthParticles(::Vec3 const &pos)
MCAPI void calculateDirectionalLightRenderData(::ScreenContext const &screenContext, ::ViewRenderData const &renderData, ::SkyRenderObject const &skyData)
MCAPI void bobHurt(::Matrix &mv, float a)
MCAPI void _playNamedSound(::HashedString const &name, ::Vec3 const &pos) const
MCAPI::mce::MaterialPtr const & _getForcedMaterial(::BlockActor const &actor) const
MCAPI float $getUnderwaterVisionClarity()
static MCAPI float getNightVisionScale(::Mob const &camera, float a)
MCAPI void _renderOutlineSelection(::BaseActorRenderContext &renderContext, ::Block const &block, ::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void _playBabySoundEvent(::Sound const &sound, ::Vec3 const &pos, ::Random &rand) const
MCAPI void setItemInHandRenderingParameters(::mce::Camera &camera)
static MCAPI void ** $vftableForLevelRendererCamera()
MCAPI::ActorShadowRenderObjectCollection _extractEntityShadows(::ScreenContext &screenContext) const
MCAPI::NameTagRenderObjectCollection $extractNameTags(::ScreenContext &screenContext) const
MCAPI void * $ctor(::IClientInstance &clientInstance, ::std::shared_ptr<::Options > options, ::Level &level, ::LevelRenderer &levelRenderer, ::WeakEntityRef localUser, ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface > const &soundPlayer, ::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > const &terrainTexture, ::SoundMapping const &sounds)
static MCAPI void renderCracks(::ScreenContext &screenContext, ::ViewRenderData const &renderData, ::CrackRenderObjectCollection const &tagCollection)
MCAPI void _crack(::BlockSource ®ion, ::Block const &block, ::BlockPos const &inPos, uchar face)
MCAPI::TextureUVCoordinateSet _getDestructionParticlesTexture(::Block const &block)
MCAPI bool blockCanHaveSelectionOverlay(::Block const &block) const
MCAPI void reinit(::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > const &terrainTexture)
MCAPI void $renderBlockEntities(::BaseActorRenderContext &renderContext, bool renderAlphaLayer)
MCAPI::CloudRenderObject _extractClouds(::ScreenContext &screenContext, ::mce::framebuilder::SkyWeatherParameters const &skyWeatherParams, bool vibrantEnabled) const
MCAPI void playSound(::std::string const &name, ::Vec3 const &pos, float volume, float pitch) const
MCAPI void $updateViewArea(::LevelRenderPreRenderUpdateParameters const &levelRenderPreRenderUpdateParameters)
MCAPI float getFov(float a, bool enableVariableFOV) const
Definition LevelRenderer.h:5
Definition ScreenContext.h:5
Definition SoundPlayerInterface.h:21
Definition TextureAtlas.h:5
Definition WeakEntityRef.h:14
Definition MaterialPtr.h:15
Definition ActorShadowRenderObjectCollection.h:5
Definition BreakingItemParticleData.h:8
Definition ClientFrameUpdateContext.h:5
Definition CloudRenderObject.h:5
Definition CrackRenderObjectCollection.h:5
Definition CrackRenderObject.h:5
Definition DeferredSound.h:5
Definition DirectionalLightRenderData.h:5
Definition FogDefinition.h:5
Definition LevelRenderPreRenderUpdateParameters.h:5
Definition LevelRendererPlayer.h:17
Definition LevelRendererPlayer.h:15
MCAPI ~BiomeParticleKey()
Definition LevelRendererPlayer.h:19
Definition RenderChunkShared.h:5
Definition ResolvedItemIconInfo.h:8
Definition SkyRenderObject.h:5
Definition SoundMapping.h:5
Definition TextureUVCoordinateSet.h:5
Definition ViewRenderData.h:5
Definition ViewRenderObject.h:5
Definition SkyWeatherParameters.h:7