LeviLamina
Loading...
Searching...
No Matches
CreativeContentPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/packet/Packet.h"
9#include "mc/platform/Result.h"
10#include "mc/world/inventory/network/TypedServerNetId.h"
11#include "mc/world/item/CreativeItemCategory.h"
12#include "mc/world/item/NetworkItemInstanceDescriptor.h"
13
14// auto generated forward declare list
15// clang-format off
16class BinaryStream;
20// clang-format on
21
23public:
24 // CreativeContentPacket inner types declare
25 // clang-format off
28 // clang-format on
29
30 // CreativeContentPacket inner types define
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<4, 4, ::CreativeItemCategory const> mCreativeItemCategory;
36 ::ll::TypedStorage<8, 32, ::std::string const> mName;
37 ::ll::TypedStorage<8, 64, ::NetworkItemInstanceDescriptor const> mIcon;
38 // NOLINTEND
39 };
40
42 public:
43 // member variables
44 // NOLINTBEGIN
45 ::ll::TypedStorage<4, 4, ::CreativeItemNetId const> mCreativeItemNetId;
46 ::ll::TypedStorage<8, 64, ::NetworkItemInstanceDescriptor const> mItemDescriptor;
47 ::ll::TypedStorage<4, 4, uint const> mIndex;
48 ::ll::TypedStorage<4, 4, uint const> mGroupIndex;
49 // NOLINTEND
50 };
51
52public:
53 // member variables
54 // NOLINTBEGIN
55 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::CreativeItemRegistry const> const>
56 mCreativeItemRegistryForWrite;
57 ::ll::TypedStorage<8, 24, ::std::vector<::CreativeContentPacket::CreativeGroupInfoDescription>>
58 mReadGroupInfoDescriptions;
59 ::ll::TypedStorage<8, 24, ::std::vector<::CreativeContentPacket::CreativeItemEntryDescription>>
60 mReadEntryDescriptions;
61 // NOLINTEND
62
63public:
64 // virtual functions
65 // NOLINTBEGIN
66 // vIndex: 1
67 virtual ::MinecraftPacketIds getId() const /*override*/;
68
69 // vIndex: 2
70 virtual ::std::string getName() const /*override*/;
71
72 // vIndex: 4
73 virtual void write(::BinaryStream& stream) const /*override*/;
74
75 // vIndex: 8
76 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
77
78 // vIndex: 0
79 virtual ~CreativeContentPacket() /*override*/;
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCAPI void $dtor();
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91 MCAPI ::MinecraftPacketIds $getId() const;
92
93 MCAPI ::std::string $getName() const;
94
95 MCAPI void $write(::BinaryStream& stream) const;
96
97 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftable();
104 // NOLINTEND
105};
Definition BinaryStream.h:10
Definition CreativeContentPacket.h:22
static MCAPI void ** $vftable()
Definition CreativeItemRegistry.h:20
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
STL namespace.
Definition CreativeContentPacket.h:31
Definition CreativeContentPacket.h:41
Definition CreativeItemNetIdTag.h:5