3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/oreui/binding/FacetBase.h"
7#include "mc/deps/core/math/Color.h"
8#include "mc/deps/core/utility/pub_sub/Subscription.h"
14namespace mce {
class UUID; }
33 ::ll::TypedStorage<4, 4, float> mX;
34 ::ll::TypedStorage<4, 4, float> mZ;
35 ::ll::TypedStorage<4, 4, float> mRotation;
36 ::ll::TypedStorage<4, 16, ::mce::Color> mColor;
37 ::ll::TypedStorage<1, 1, bool> mIsOnMap;
43 MCAPI static ::std::add_lvalue_reference_t<char const[]> NAME();
51 ::ll::TypedStorage<4, 4, int> mWidth;
52 ::ll::TypedStorage<4, 4, int> mHeight;
58 MCAPI static ::std::add_lvalue_reference_t<char const[]> NAME();
66 ::ll::TypedStorage<8, 32, ::std::string> mMapImage;
67 ::ll::TypedStorage<4, 8, ::OreUI::EditorMinimapFacet::MapDimensions> mDimensions;
79 MCAPI static ::std::add_lvalue_reference_t<char const[]> NAME();
92 ::ll::TypedStorage<1, 1, bool> mIsDirty;
93 ::ll::TypedStorage<8, 8, ::Editor::Services::EditorMinimapServiceProvider*> mMinimapService;
94 ::ll::TypedStorage<8, 8, ::Editor::ServiceProviderCollection*> mServices;
95 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::OreUI::EditorMinimapFacet::MinimapData>> mMinimaps;
99 ::std::unordered_map<::std::string, ::std::vector<::OreUI::EditorMinimapFacet::PlayerMarkerData>>>
101 ::ll::TypedStorage<4, 32, ::OreUI::EditorMinimapFacet::PlayerMarkerData> mMeMarker;
102 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mVisibleMinimapUIs;
103 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mMinimapDataChangedSub;
104 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mPlayerMarkersChangedSub;
105 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mMeMarkerChangedSub;
110 EditorMinimapFacet();
115 virtual ~EditorMinimapFacet() ;
117 virtual bool update() ;
123 MCAPI
explicit EditorMinimapFacet(::Editor::ServiceProviderCollection* services);
125 MCAPI
void _handleMeMarkerChanged();
127 MCAPI
void _handleMinimapDataChanged(::mce::UUID
const& minimapId);
129 MCAPI
void _handlePlayerMarkersChanged(::mce::UUID
const& minimapId);
131 MCAPI
void _updateMinimapData(::mce::UUID
const& minimapId);
133 MCAPI
void _updatePlayerMarkers(::mce::UUID
const& minimapId);
135 MCFOLD ::OreUI::EditorMinimapFacet::PlayerMarkerData
const& getMeMarker();
137 MCFOLD ::std::unordered_map<::std::string, ::OreUI::EditorMinimapFacet::MinimapData>
const& getMinimaps();
139 MCFOLD ::std::unordered_map<::std::string, ::std::vector<::OreUI::EditorMinimapFacet::PlayerMarkerData>>
const&
142 MCAPI
void registerMinimapUI(::std::string
const& mapId);
144 MCAPI
void unregisterMinimapUI(::std::string
const& mapId);
150 MCAPI static ::std::add_lvalue_reference_t<char const[]> NAME();
156 MCAPI
void* $ctor(::Editor::ServiceProviderCollection* services);
168 MCFOLD
bool $update();
Definition ServiceProviderCollection.h:7
Definition EditorMinimapServiceProvider.h:25
Definition EditorMinimapFacet.h:7
static MCAPI void ** $vftable()
Definition EditorMinimapFacet.h:19
Definition EditorMinimapFacet.h:21
Definition EditorMinimapFacet.h:17