LeviLamina
Loading...
Searching...
No Matches
ResourcePackClientResponsePacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/MinecraftPacketIds.h"
7#include "mc/network/Packet.h"
8#include "mc/network/packet/ResourcePackResponse.h"
9#include "mc/platform/Result.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
15// clang-format on
16
17class ResourcePackClientResponsePacket : public ::Packet {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 16, ::std::set<::std::string>> mDownloadingPacks;
22 ::ll::TypedStorage<1, 1, ::ResourcePackResponse> mResponse;
23 // NOLINTEND
24
25#ifdef LL_PLAT_S
26#else // LL_PLAT_C
27public:
28 // prevent constructor by default
29 ResourcePackClientResponsePacket();
30
31#endif
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ::MinecraftPacketIds getId() const /*override*/;
36
37 virtual ::std::string_view getName() const /*override*/;
38
39 virtual void write(::BinaryStream& stream) const /*override*/;
40
41 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
42
43#ifdef LL_PLAT_S
44 virtual ~ResourcePackClientResponsePacket() /*override*/ = default;
45#else // LL_PLAT_C
46 virtual ~ResourcePackClientResponsePacket() /*override*/;
47#endif
48
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCAPI explicit ResourcePackClientResponsePacket(::ResourcePackResponse response);
56#endif
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62#ifdef LL_PLAT_C
63 MCAPI void* $ctor(::ResourcePackResponse response);
64#endif
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCAPI void $dtor();
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCFOLD ::MinecraftPacketIds $getId() const;
77
78 MCAPI ::std::string_view $getName() const;
79
80 MCAPI void $write(::BinaryStream& stream) const;
81
82 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BinaryStream.h:11
Definition ReadOnlyBinaryStream.h:8
static MCAPI void ** $vftable()