LeviLamina
Loading...
Searching...
No Matches
ClientboundDebugRendererPacketPayload.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#include "mc/deps/core/math/Vec3.h"
8
9class ClientboundDebugRendererPacketPayload {
10public:
11 // ClientboundDebugRendererPacketPayload inner types declare
12 // clang-format off
13 struct DebugMarkerData;
14 // clang-format on
15
16 // ClientboundDebugRendererPacketPayload inner types define
17 enum class PayloadType : uchar {
18 Invalid = 0,
19 ClearDebugMarkers = 1,
20 AddDebugMarkerCube = 2,
21 };
22
24 public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 32, ::std::string> text;
28 ::ll::TypedStorage<4, 12, ::Vec3> position;
29 ::ll::TypedStorage<4, 16, ::mce::Color> color;
30 ::ll::TypedStorage<8, 8, uint64> durationMS;
31 // NOLINTEND
32 };
33
34public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<1, 1, ::ClientboundDebugRendererPacketPayload::PayloadType> mType;
38 ::ll::TypedStorage<8, 80, ::std::optional<::ClientboundDebugRendererPacketPayload::DebugMarkerData>>
39 mDebugMarkerData;
40 // NOLINTEND
41
42public:
43 // prevent constructor by default
44 ClientboundDebugRendererPacketPayload();
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI explicit ClientboundDebugRendererPacketPayload(::ClientboundDebugRendererPacketPayload::PayloadType type);
50
51 MCAPI ClientboundDebugRendererPacketPayload(
52 ::std::string text,
53 ::mce::Color const& color,
54 ::Vec3 const& position,
55 ::std::chrono::milliseconds duration
56 );
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::ClientboundDebugRendererPacketPayload::PayloadType type);
63
64 MCAPI void*
65 $ctor(::std::string text, ::mce::Color const& color, ::Vec3 const& position, ::std::chrono::milliseconds duration);
66 // NOLINTEND
67};
Definition Vec3.h:10
Definition Color.h:13
Definition ClientboundDebugRendererPacketPayload.h:23