LeviLamina
Loading...
Searching...
No Matches
MapDecoration.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Color.h"
7
8class MapDecoration {
9public:
10 // MapDecoration inner types define
11 enum class Type : schar {
12 MarkerWhite = 0,
13 MarkerGreen = 1,
14 MarkerRed = 2,
15 MarkerBlue = 3,
16 XWhite = 4,
17 TriangleRed = 5,
18 SquareWhite = 6,
19 MarkerSign = 7,
20 MarkerPink = 8,
21 MarkerOrange = 9,
22 MarkerYellow = 10,
23 MarkerTeal = 11,
24 TriangleGreen = 12,
25 SmallSquareWhite = 13,
26 Mansion = 14,
27 Monument = 15,
28 NoDraw = 16,
29 VillageDesert = 17,
30 VillagePlains = 18,
31 VillageSavanna = 19,
32 VillageSnowy = 20,
33 VillageTaiga = 21,
34 JungleTemple = 22,
35 WitchHut = 23,
36 TrialChambers = 24,
37 Count = 25,
38 Player = 0,
39 PlayerOffMap = 6,
40 PlayerOffLimits = 13,
41 PlayerHidden = 16,
42 ItemFrame = 1,
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
48 ::ll::TypedStorage<8, 32, ::std::string> mLabel;
49 ::ll::TypedStorage<1, 1, ::MapDecoration::Type> mImage;
50 ::ll::TypedStorage<1, 1, schar> mX;
51 ::ll::TypedStorage<1, 1, schar> mY;
52 ::ll::TypedStorage<1, 1, schar> mRotation;
53 ::ll::TypedStorage<4, 16, ::mce::Color> mColor;
54 // NOLINTEND
55
56public:
57 // prevent constructor by default
58 MapDecoration();
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI MapDecoration(
64 ::MapDecoration::Type img,
65 schar x,
66 schar y,
67 schar rot,
68 ::std::string const& label,
69 ::mce::Color const& color
70 );
71
72 MCFOLD ::mce::Color const& getColor() const;
73
74 MCFOLD ::MapDecoration::Type getImg() const;
75
76 MCFOLD ::std::string const& getLabel() const;
77
78 MCFOLD schar getRot() const;
79
80 MCFOLD schar getX() const;
81
82 MCFOLD schar getY() const;
83
84#ifdef LL_PLAT_C
85 MCAPI bool isRenderedOnFrame() const;
86#endif
87
88 MCAPI ~MapDecoration();
89 // NOLINTEND
90
91public:
92 // constructor thunks
93 // NOLINTBEGIN
94 MCAPI void* $ctor(
95 ::MapDecoration::Type img,
96 schar x,
97 schar y,
98 schar rot,
99 ::std::string const& label,
100 ::mce::Color const& color
101 );
102 // NOLINTEND
103
104public:
105 // destructor thunk
106 // NOLINTBEGIN
107 MCFOLD void $dtor();
108 // NOLINTEND
109};
Definition Player.h:137
Definition Color.h:13