LeviLamina
Loading...
Searching...
No Matches
ResourcePacksInfoPacket.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/Packet.h"
8#include "mc/platform/Result.h"
9
10// auto generated forward declare list
11// clang-format off
12class BinaryStream;
14struct PackIdVersion;
15struct PackInfoData;
16struct PacksInfoData;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 80, ::PacksInfoData> mData;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 1
30 virtual ::MinecraftPacketIds getId() const /*override*/;
31
32 // vIndex: 2
33 virtual ::std::string getName() const /*override*/;
34
35 // vIndex: 4
36 virtual void write(::BinaryStream& stream) const /*override*/;
37
38 // vIndex: 8
39 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
40
41 // vIndex: 0
42 virtual ~ResourcePacksInfoPacket() /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
49 bool resourcePackRequired,
50 ::std::vector<::PackInfoData>& resourcePacks,
51 bool hasAddonPacks,
52 ::PackIdVersion const& worldTemplateIdVersion
53 );
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(
60 bool resourcePackRequired,
61 ::std::vector<::PackInfoData>& resourcePacks,
62 bool hasAddonPacks,
63 ::PackIdVersion const& worldTemplateIdVersion
64 );
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 $getName() const;
79
80 MCAPI void $write(::BinaryStream& stream) const;
81
82 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCAPI static void** $vftable();
89 // NOLINTEND
90};
Definition BinaryStream.h:10
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition ResourcePacksInfoPacket.h:19
Definition PackIdVersion.h:14
Definition PackInfoData.h:13
Definition PacksInfoData.h:11