LeviLamina
Loading...
Searching...
No Matches
BookEditPacket.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/BookEditAction.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;
15struct PageContent;
16// clang-format on
17
18class BookEditPacket : public ::Packet {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, ::BookEditAction> mAction;
23 ::ll::TypedStorage<4, 4, int> mBookSlot;
24 ::ll::TypedStorage<4, 4, int> mPageIndex1;
25 ::ll::TypedStorage<4, 4, int> mPageIndex2;
26 ::ll::TypedStorage<8, 32, ::std::string> mText1;
27 ::ll::TypedStorage<8, 32, ::std::string> mText2;
28 ::ll::TypedStorage<8, 32, ::std::string> mText3;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 1
35 virtual ::MinecraftPacketIds getId() const /*override*/;
36
37 // vIndex: 2
38 virtual ::std::string getName() const /*override*/;
39
40 // vIndex: 4
41 virtual void write(::BinaryStream& stream) const /*override*/;
42
43 // vIndex: 8
44 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
45
46 // vIndex: 0
47 virtual ~BookEditPacket() /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI ::Bedrock::Result<void> _readPage(::ReadOnlyBinaryStream& stream);
54
55 MCAPI ::PageContent getPage() const;
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::MinecraftPacketIds $getId() const;
68
69 MCAPI ::std::string $getName() const;
70
71 MCAPI void $write(::BinaryStream& stream) const;
72
73 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCAPI static void** $vftable();
80 // NOLINTEND
81};
Definition BinaryStream.h:10
Definition BookEditPacket.h:18
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition PageContent.h:10