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
23 struct DebugMarkerData {
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 public:
34 // prevent constructor by default
35 DebugMarkerData(DebugMarkerData const&);
36 DebugMarkerData();
37
38 public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI ::ClientboundDebugRendererPacketPayload::DebugMarkerData&
43
44 MCAPI ::ClientboundDebugRendererPacketPayload::DebugMarkerData&
46 // NOLINTEND
47 };
48
49public:
50 // member variables
51 // NOLINTBEGIN
52 ::ll::TypedStorage<1, 1, ::ClientboundDebugRendererPacketPayload::PayloadType> mType;
53 ::ll::TypedStorage<8, 80, ::std::optional<::ClientboundDebugRendererPacketPayload::DebugMarkerData>>
54 mDebugMarkerData;
55 // NOLINTEND
56
57public:
58 // prevent constructor by default
59 ClientboundDebugRendererPacketPayload();
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI ClientboundDebugRendererPacketPayload(
65 ::std::string text,
66 ::mce::Color const& color,
67 ::Vec3 const& position,
68 ::std::chrono::milliseconds duration
69 );
70
71 MCAPI ~ClientboundDebugRendererPacketPayload();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void*
78 $ctor(::std::string text, ::mce::Color const& color, ::Vec3 const& position, ::std::chrono::milliseconds duration);
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86};
Definition Vec3.h:10
Definition Color.h:13
Definition ClientboundDebugRendererPacketPayload.h:23