LeviLamina
Loading...
Searching...
No Matches
NetworkItemStackDescriptor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7#include "mc/world/inventory/network/ItemStackNetIdVariant.h"
8#include "mc/world/item/ItemDescriptorCount.h"
9
10// auto generated forward declare list
11// clang-format off
12class ItemStack;
14// clang-format on
15
16class NetworkItemStackDescriptor : public ::ItemDescriptorCount {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool> mIncludeNetIds;
21 ::ll::TypedStorage<8, 24, ::ItemStackNetIdVariant> mNetIdVariant;
22 ::ll::TypedStorage<4, 4, uint> mBlockRuntimeId;
23 ::ll::TypedStorage<8, 32, ::std::string> mUserDataBuffer;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 NetworkItemStackDescriptor& operator=(NetworkItemStackDescriptor const&);
29 NetworkItemStackDescriptor();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~NetworkItemStackDescriptor() /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI NetworkItemStackDescriptor(::NetworkItemStackDescriptor const&);
41
42 MCAPI explicit NetworkItemStackDescriptor(::ItemStack const& item);
43
44 MCAPI bool operator==(::NetworkItemStackDescriptor const& rhs) const;
45
46 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::NetworkItemStackDescriptor const&);
53
54 MCAPI void* $ctor(::ItemStack const& item);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCFOLD void $dtor();
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCAPI static void** $vftable();
67 // NOLINTEND
68};
Definition ItemStack.h:26
Definition ReadOnlyBinaryStream.h:8