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.h"
8#include "mc/network/packet/BookEditAction.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 virtual ::MinecraftPacketIds getId() const /*override*/;
35
36 virtual ::std::string getName() const /*override*/;
37
38 virtual void write(::BinaryStream& stream) const /*override*/;
39
40 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
41
42 virtual ~BookEditPacket() /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI ::Bedrock::Result<void> _readPage(::ReadOnlyBinaryStream& stream);
49
50 MCAPI ::PageContent getPage() const;
51
52 MCAPI_C void setToFinalize(int bookSlot, ::std::string title, ::std::string author, ::std::string xuid);
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI ::MinecraftPacketIds $getId() const;
65
66 MCAPI ::std::string $getName() const;
67
68 MCAPI void $write(::BinaryStream& stream) const;
69
70 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition BinaryStream.h:11
Definition BookEditPacket.h:18
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8
Definition PageContent.h:10