LeviLamina
Loading...
Searching...
No Matches
ResourcePackDataInfoPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/PackType.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/packet/Packet.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
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mResourceName;
22 ::ll::TypedStorage<4, 4, uint> mChunkSize;
23 ::ll::TypedStorage<4, 4, int> mNbChunks;
24 ::ll::TypedStorage<8, 8, uint64> mFileSize;
25 ::ll::TypedStorage<8, 32, ::std::string> mFileHash;
26 ::ll::TypedStorage<1, 1, ::PackType> mPackType;
27 ::ll::TypedStorage<1, 1, bool> mIsPremium;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 1
34 virtual ::MinecraftPacketIds getId() const /*override*/;
35
36 // vIndex: 2
37 virtual ::std::string getName() const /*override*/;
38
39 // vIndex: 4
40 virtual void write(::BinaryStream& stream) const /*override*/;
41
42 // vIndex: 8
43 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
44
45 // vIndex: 0
46 virtual ~ResourcePackDataInfoPacket() /*override*/;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCAPI void $dtor();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI ::MinecraftPacketIds $getId() const;
59
60 MCAPI ::std::string $getName() const;
61
62 MCAPI void $write(::BinaryStream& stream) const;
63
64 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCAPI static void** $vftable();
71 // NOLINTEND
72};
Definition BinaryStream.h:10
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition ResourcePackDataInfoPacket.h:17