3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/renderer/actor/ActorRenderer.h"
7#include "mc/common/SubClientId.h"
8#include "mc/deps/application/AppPlatformListener.h"
9#include "mc/deps/core/math/Vec2.h"
10#include "mc/deps/core/resource/ResourceLocation.h"
11#include "mc/deps/minecraft_renderer/renderer/MaterialPtr.h"
12#include "mc/deps/minecraft_renderer/renderer/Mesh.h"
13#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
14#include "mc/legacy/ActorUniqueID.h"
30namespace mce {
class Color; }
46 ::ll::TypedStorage<4, 4, float const> mArrowRotationConverter;
47 ::ll::TypedStorage<8, 8, ::MapItemSavedData const&> mMapData;
48 ::ll::TypedStorage<1, 1, bool> mDirtyTexture;
49 ::ll::TypedStorage<8, 8, ::MapRenderer&> mMapRenderer;
50 ::ll::TypedStorage<8, 56, ::ResourceLocation> mResourceLocation;
51 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mMapTexture;
52 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mMarkerMaterial;
53 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mDecorationMaterial;
54 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mNameTagMaterial;
55 ::ll::TypedStorage<4, 8, ::Vec2> playerM;
56 ::ll::TypedStorage<4, 4, float> overlap_dist;
61 MapInstance& operator=(MapInstance
const&);
62 MapInstance(MapInstance
const&);
90 ::std::string
const& label,
104 using DecorationMeshArray = ::std::array<::mce::Mesh, 30>;
109 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::mce::TextureGroup>> mTextureGroup;
110 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ActorUniqueID, ::std::unique_ptr<::MapRenderer::MapInstance>>>
112 ::ll::TypedStorage<1, 1, ::SubClientId> mClientId;
113 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mDecorationTexture;
114 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mMapBackgroundTexture;
115 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mIconBackgroundTexture;
116 ::ll::TypedStorage<8, 960, ::std::array<::mce::TexturePtr, 30>> mMarkerTextures;
117 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mMapMaterial;
118 ::ll::TypedStorage<8, 608, ::mce::Mesh> mBackgroundMesh;
119 ::ll::TypedStorage<8, 608, ::mce::Mesh> mForegroundMesh;
120 ::ll::TypedStorage<8, 18240, ::mce::Mesh[30]> mDecorationMeshes;
132 virtual void onAppSuspended() ;
138 MCNAPI
MapRenderer(::SubClientId clientId, ::std::shared_ptr<::mce::TextureGroup> textureGroup);
152 ::std::optional<bool> ignoreLighting,
153 ::std::optional<::Brightness const> lightEmission
160 MCNAPI
void*
$ctor(::SubClientId clientId, ::std::shared_ptr<::mce::TextureGroup> textureGroup);
Definition ActorRenderData.h:5
Definition ActorRenderer.h:5
Definition BaseActorRenderContext.h:5
Definition BlockSource.h:72
Definition MapDecoration.h:8
Definition MapItemSavedData.h:32
Definition MapRenderer.h:13
MCAPI void _drawIconBackground(::ScreenContext &screenContext, ::mce::Color const &color, float zOffset, ::OffscreenCaptureDescription const &offscreenCaptureDescription)
MCAPI void _renderLabel(::BaseActorRenderContext &renderContext, ::Vec3 const &pos, ::std::string const &label, ::mce::Color const &labelColor)
MCAPI bool _renderFaceIcon(::Tessellator &, ::BaseActorRenderContext &renderContext, ::Player *holdingPlayer, ::mce::Color const &lightColor, float scale, ::MapDecoration const &dec, ::ActorUniqueID const &playerID, int, bool isEduWorld)
Definition MapRenderer.h:5
MCAPI MapRenderer(::SubClientId clientId, ::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void $onAppSuspended()
MCAPI void * $ctor(::SubClientId clientId, ::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI::MapRenderer::MapInstance & _getMapInstance(::MapItemSavedData const &data)
MCAPI void $render(::BaseActorRenderContext &, ::ActorRenderData &)
MCAPI void _generateMeshes(::BaseActorRenderContext &renderContext)
MCAPI void render(::BaseActorRenderContext &renderContext, ::Player *holdingPlayer, ::BlockPos const &pos, ::BlockSource ®ion, ::MapItemSavedData const &data, bool showOnlyFrame, bool isBasic, ::std::optional< bool > ignoreLighting, ::std::optional<::Brightness const > lightEmission)
Definition ScreenContext.h:5
Definition Tessellator.h:5
Definition TextureGroup.h:7
Definition ActorUniqueID.h:5
Definition Brightness.h:8
Definition OffscreenCaptureDescription.h:5