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.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
22class CreativeContentPacket : public ::Packet {
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 public:
41 // member functions
42 // NOLINTBEGIN
43
44 // NOLINTEND
45
46 public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI_C void* $ctor(
50 ::CreativeItemCategory creativeItemCategory,
51 ::std::string name,
53 );
54 // NOLINTEND
55
56 public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI_C void $dtor();
60 // NOLINTEND
61 };
62
64 public:
65 // member variables
66 // NOLINTBEGIN
67 ::ll::TypedStorage<4, 4, ::CreativeItemNetId const> mCreativeItemNetId;
68 ::ll::TypedStorage<8, 64, ::NetworkItemInstanceDescriptor const> mItemDescriptor;
69 ::ll::TypedStorage<4, 4, uint const> mIndex;
70 ::ll::TypedStorage<4, 4, uint const> mGroupIndex;
71 // NOLINTEND
72
73 public:
74 // member functions
75 // NOLINTBEGIN
76
77 // NOLINTEND
78
79 public:
80 // constructor thunks
81 // NOLINTBEGIN
83 // NOLINTEND
84
85 public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCAPI_C void $dtor();
89 // NOLINTEND
90 };
91
92public:
93 // member variables
94 // NOLINTBEGIN
95 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::CreativeItemRegistry const> const>
96 mCreativeItemRegistryForWrite;
97 ::ll::TypedStorage<8, 24, ::std::vector<::CreativeContentPacket::CreativeGroupInfoDescription>>
98 mReadGroupInfoDescriptions;
99 ::ll::TypedStorage<8, 24, ::std::vector<::CreativeContentPacket::CreativeItemEntryDescription>>
100 mReadEntryDescriptions;
101 // NOLINTEND
102
103public:
104 // virtual functions
105 // NOLINTBEGIN
106 virtual ::MinecraftPacketIds getId() const /*override*/;
107
108 virtual ::std::string getName() const /*override*/;
109
110 virtual void write(::BinaryStream& stream) const /*override*/;
111
112 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
113
114 virtual ~CreativeContentPacket() /*override*/;
115 // NOLINTEND
116
117public:
118 // destructor thunk
119 // NOLINTBEGIN
120 MCAPI void $dtor();
121 // NOLINTEND
122
123public:
124 // virtual function thunks
125 // NOLINTBEGIN
126 MCAPI ::MinecraftPacketIds $getId() const;
127
128 MCAPI ::std::string $getName() const;
129
130 MCAPI void $write(::BinaryStream& stream) const;
131
132 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
133
134
135 // NOLINTEND
136
137public:
138 // vftables
139 // NOLINTBEGIN
140 MCNAPI static void** $vftable();
141 // NOLINTEND
142};
Definition BinaryStream.h:11
Definition CreativeContentPacket.h:22
static MCAPI void ** $vftable()
Definition CreativeItemRegistry.h:23
Definition NetworkItemInstanceDescriptor.h:16
Definition ReadOnlyBinaryStream.h:8
STL namespace.
Definition CreativeContentPacket.h:31
Definition CreativeContentPacket.h:63
Definition CreativeItemNetIdTag.h:5