LeviLamina
Loading...
Searching...
No Matches
ResourcePackClientResponsePacketPayload.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/packet/ResourcePackResponse.h"
7
8struct ResourcePackClientResponsePacketPayload {
9public:
10 // ResourcePackClientResponsePacketPayload inner types declare
11 // clang-format off
12 struct Cancel;
13 struct Downloading;
16 // clang-format on
17
18 // ResourcePackClientResponsePacketPayload inner types define
19 struct Cancel {};
20
21 struct Downloading {
22 public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::std::set<::std::string>> mDownloadingPacks;
26 // NOLINTEND
27
28 public:
29 // member functions
30 // NOLINTBEGIN
31#ifdef LL_PLAT_C
32 MCAPI ~Downloading();
33#endif
34 // NOLINTEND
35
36 public:
37 // destructor thunk
38 // NOLINTBEGIN
39#ifdef LL_PLAT_C
40 MCFOLD void $dtor();
41#endif
42 // NOLINTEND
43 };
44
46
48
49 using Response = ::std::variant<
54
55public:
56 // member variables
57 // NOLINTBEGIN
58 ::ll::TypedStorage<
59 8,
60 24,
61 ::std::variant<
66 mResponse;
67 // NOLINTEND
68
69#ifdef LL_PLAT_S
70#else // LL_PLAT_C
71public:
72 // prevent constructor by default
73 ResourcePackClientResponsePacketPayload();
74
75#endif
76public:
77 // member functions
78 // NOLINTBEGIN
79#ifdef LL_PLAT_C
80 MCAPI explicit ResourcePackClientResponsePacketPayload(::ResourcePackResponse response);
81
82 MCAPI ResourcePackClientResponsePacketPayload(
83 ::ResourcePackResponse response,
84 ::std::set<::std::string> downloadingPacks
85 );
86#endif
87
88 MCAPI ::std::set<::std::string> const& getDownloadingPacks() const;
89
90 MCAPI ~ResourcePackClientResponsePacketPayload();
91 // NOLINTEND
92
93public:
94 // constructor thunks
95 // NOLINTBEGIN
96#ifdef LL_PLAT_C
97 MCAPI void* $ctor(::ResourcePackResponse response);
98
99 MCAPI void* $ctor(::ResourcePackResponse response, ::std::set<::std::string> downloadingPacks);
100#endif
101 // NOLINTEND
102
103public:
104 // destructor thunk
105 // NOLINTBEGIN
106 MCFOLD void $dtor();
107 // NOLINTEND
108};
Definition ResourcePackClientResponsePacketPayload.h:19
Definition ResourcePackClientResponsePacketPayload.h:45
Definition ResourcePackClientResponsePacketPayload.h:21
Definition ResourcePackClientResponsePacketPayload.h:47