LeviLamina
Loading...
Searching...
No Matches
ClientboundDebugRendererPacket.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#include "mc/network/MinecraftPacketIds.h"
9#include "mc/network/packet/Packet.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
16// clang-format on
17
19public:
20 // ClientboundDebugRendererPacket inner types declare
21 // clang-format off
22 struct DebugMarkerData;
23 // clang-format on
24
25 // ClientboundDebugRendererPacket inner types define
26 enum class Type : uint {
27 Invalid = 0,
28 ClearDebugMarkers = 1,
29 AddDebugMarkerCube = 2,
30 };
31
33 public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<8, 32, ::std::string> text;
37 ::ll::TypedStorage<4, 12, ::Vec3> position;
38 ::ll::TypedStorage<4, 16, ::mce::Color> color;
39 ::ll::TypedStorage<8, 8, ::std::chrono::milliseconds> duration;
40 // NOLINTEND
41
42 public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI DebugMarkerData();
46
47 MCAPI ~DebugMarkerData();
48 // NOLINTEND
49
50 public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor();
54 // NOLINTEND
55
56 public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCFOLD void $dtor();
60 // NOLINTEND
61 };
62
63public:
64 // member variables
65 // NOLINTBEGIN
66 ::ll::TypedStorage<4, 4, ::ClientboundDebugRendererPacket::Type> mType;
67 ::ll::TypedStorage<8, 80, ::std::optional<::ClientboundDebugRendererPacket::DebugMarkerData>> mDebugMarkerData;
68 // NOLINTEND
69
70public:
71 // prevent constructor by default
73
74public:
75 // virtual functions
76 // NOLINTBEGIN
77 // vIndex: 1
78 virtual ::MinecraftPacketIds getId() const /*override*/;
79
80 // vIndex: 2
81 virtual ::std::string getName() const /*override*/;
82
83 // vIndex: 4
84 virtual void write(::BinaryStream& stream) const /*override*/;
85
86 // vIndex: 8
87 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
88
89 // vIndex: 0
90 virtual ~ClientboundDebugRendererPacket() /*override*/;
91 // NOLINTEND
92
93public:
94 // member functions
95 // NOLINTBEGIN
97 ::std::string text,
98 ::mce::Color const& color,
99 ::Vec3 const& position,
100 ::std::chrono::milliseconds duration
101 );
102 // NOLINTEND
103
104public:
105 // constructor thunks
106 // NOLINTBEGIN
107 MCAPI void*
108 $ctor(::std::string text, ::mce::Color const& color, ::Vec3 const& position, ::std::chrono::milliseconds duration);
109 // NOLINTEND
110
111public:
112 // destructor thunk
113 // NOLINTBEGIN
114 MCAPI void $dtor();
115 // NOLINTEND
116
117public:
118 // virtual function thunks
119 // NOLINTBEGIN
120 MCAPI ::MinecraftPacketIds $getId() const;
121
122 MCAPI ::std::string $getName() const;
123
124 MCAPI void $write(::BinaryStream& stream) const;
125
126 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
127 // NOLINTEND
128
129public:
130 // vftables
131 // NOLINTBEGIN
132 MCNAPI static void** $vftable();
133 // NOLINTEND
134};
Definition BinaryStream.h:10
Definition ClientboundDebugRendererPacket.h:18
static MCAPI void ** $vftable()
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition Vec3.h:10
STL namespace.
Definition ClientboundDebugRendererPacket.h:32