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 BlockPalette;
13class ItemStack;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mIncludeNetIds;
22 ::ll::TypedStorage<8, 24, ::ItemStackNetIdVariant> mNetIdVariant;
23 ::ll::TypedStorage<4, 4, uint> mBlockRuntimeId;
24 ::ll::TypedStorage<8, 32, ::std::string> mUserDataBuffer;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~NetworkItemStackDescriptor() /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
43
44 MCAPI explicit NetworkItemStackDescriptor(::ItemStack const& item);
45
46 MCAPI ::ItemStack getItemStack(::BlockPalette const& blockPalette) const;
47
48 MCAPI ::NetworkItemStackDescriptor& operator=(::NetworkItemStackDescriptor&&);
49
50 MCAPI ::NetworkItemStackDescriptor& operator=(::NetworkItemStackDescriptor const&);
51
52 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(::NetworkItemStackDescriptor&&);
59
60 MCAPI void* $ctor(::ItemStack const& item);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition BlockPalette.h:19
Definition ItemDescriptorCount.h:13
Definition ItemStack.h:23
Definition NetworkItemStackDescriptor.h:17
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8