LeviLamina
Loading...
Searching...
No Matches
ResourcePackStackPacket.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/platform/Result.h"
9#include "mc/util/BaseGameVersion.h"
10#include "mc/world/level/storage/ExperimentStorage.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
15class Experiments;
17struct PackInstanceId;
18// clang-format on
19
20class ResourcePackStackPacket : public ::Packet {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 24, ::std::vector<::PackInstanceId>> mTexturePackIdsAndVersions;
25 ::ll::TypedStorage<8, 32, ::BaseGameVersion> mBaseGameVersion;
26 ::ll::TypedStorage<1, 1, bool> mTexturePackRequired;
27 ::ll::TypedStorage<8, 72, ::ExperimentStorage> mExperiments;
28 ::ll::TypedStorage<1, 1, bool> mIncludeEditorPacks;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::MinecraftPacketIds getId() const /*override*/;
35
36 virtual ::std::string_view getName() const /*override*/;
37
38 virtual void write(::BinaryStream& stream) const /*override*/;
39
40 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI ResourcePackStackPacket();
47
48 MCAPI ResourcePackStackPacket(
49 ::std::vector<::PackInstanceId> texturePackIdsAndVersions,
50 ::BaseGameVersion const& baseGameVersion,
51 bool texturePackRequired,
52 ::Experiments const& experiments,
53 bool includeEditorPacks
54 );
55
56#ifdef LL_PLAT_C
57 MCFOLD ::BaseGameVersion const& getBaseGameVersion() const;
58
59 MCFOLD ::Experiments const& getExperiments() const;
60
61 MCFOLD ::std::vector<::PackInstanceId> const& getTexturePackIdsAndVersions() const;
62
63 MCFOLD bool includeEditorPacks() const;
64
65 MCFOLD bool isTexturePackRequired() const;
66#endif
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor();
73
74 MCAPI void* $ctor(
75 ::std::vector<::PackInstanceId> texturePackIdsAndVersions,
76 ::BaseGameVersion const& baseGameVersion,
77 bool texturePackRequired,
78 ::Experiments const& experiments,
79 bool includeEditorPacks
80 );
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCFOLD ::MinecraftPacketIds $getId() const;
87
88 MCAPI ::std::string_view $getName() const;
89
90 MCAPI void $write(::BinaryStream& stream) const;
91
92 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
Definition BaseGameVersion.h:13
Definition BinaryStream.h:11
Definition Experiments.h:14
Definition ReadOnlyBinaryStream.h:8
static MCAPI void ** $vftable()
Definition PackInstanceId.h:8