LeviLamina
Loading...
Searching...
No Matches
MinimapItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/MinimapMarkerType.h"
7#include "mc/common/editor/MinimapViewType.h"
8#include "mc/deps/game_refs/EnableGetWeakRef.h"
9#include "mc/deps/game_refs/WeakRef.h"
10
11// auto generated forward declare list
12// clang-format off
14namespace mce { class UUID; }
15// clang-format on
16
17namespace Editor::Services {
18
19class MinimapItem : public ::EnableGetWeakRef<::Editor::Services::MinimapItem> {
20public:
21 // member variables
22 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 MinimapItem& operator=(MinimapItem const&);
35 MinimapItem(MinimapItem const&);
36 MinimapItem();
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCNAPI
42 MinimapItem(::mce::UUID id, int mapWidth, int mapHeight, ::Editor::Services::MinimapViewType minimapViewType);
43
44 MCNAPI void addMarker(::Editor::Services::MinimapMarkerType markerType);
45
46 MCNAPI ::WeakRef<::ICustomBiomeSource> const& getCustomBiome() const;
47
48 MCNAPI ::mce::UUID const& getId() const;
49
50 MCNAPI int getMapHeight() const;
51
52 MCNAPI int getMapWidth() const;
53
54 MCNAPI ::std::unordered_set<::Editor::Services::MinimapMarkerType> const& getMarkerTypes() const;
55
56 MCNAPI ::Editor::Services::MinimapViewType getViewType() const;
57
58 MCNAPI bool hasMarker(::Editor::Services::MinimapMarkerType markerType) const;
59
60 MCNAPI bool isActive() const;
61
62 MCNAPI void removeMarker(::Editor::Services::MinimapMarkerType markerType);
63
64 MCNAPI void setActive(bool active);
65
66 MCNAPI bool setCustomBiome(::WeakRef<::ICustomBiomeSource> const& customBiome);
67
68 MCNAPI void setMapSize(int mapWidth, int mapHeight);
69
70 MCNAPI void setMinimapViewType(::Editor::Services::MinimapViewType viewType);
71
72 MCNAPI ~MinimapItem();
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCNAPI void*
79 $ctor(::mce::UUID id, int mapWidth, int mapHeight, ::Editor::Services::MinimapViewType minimapViewType);
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCNAPI void $dtor();
86 // NOLINTEND
87};
88
89} // namespace Editor::Services
MCAPI void * $ctor(::mce::UUID id, int mapWidth, int mapHeight, ::Editor::Services::MinimapViewType minimapViewType)
MCAPI void addMarker(::Editor::Services::MinimapMarkerType markerType)
MCAPI bool setCustomBiome(::WeakRef<::ICustomBiomeSource > const &customBiome)
MCAPI void removeMarker(::Editor::Services::MinimapMarkerType markerType)
MCAPI ::WeakRef<::ICustomBiomeSource > const & getCustomBiome() const
MCAPI void setMapSize(int mapWidth, int mapHeight)
MCAPI void setMinimapViewType(::Editor::Services::MinimapViewType viewType)
MCAPI MinimapItem(::mce::UUID id, int mapWidth, int mapHeight, ::Editor::Services::MinimapViewType minimapViewType)
MCAPI int getMapHeight() const
MCAPI void setActive(bool active)
MCAPI::mce::UUID const & getId() const
MCAPI::Editor::Services::MinimapViewType getViewType() const
MCAPI ::std::unordered_set<::Editor::Services::MinimapMarkerType > const & getMarkerTypes() const
MCAPI int getMapWidth() const
MCAPI bool hasMarker(::Editor::Services::MinimapMarkerType markerType) const
MCAPI bool isActive() const
Definition EnableGetWeakRef.h:6
Definition ICustomBiomeSource.h:20
Definition WeakRef.h:8
Definition UUID.h:7
Definition Alias.h:14