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/item/ItemDescriptorCount.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPalette;
12class ItemStack;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mIncludeNetIds;
23 ::ll::TypedStorage<4, 24, ::ItemStackNetIdVariant> mNetIdVariant;
24 ::ll::TypedStorage<4, 4, uint> mBlockRuntimeId;
25 ::ll::TypedStorage<8, 32, ::std::string> mUserDataBuffer;
26 // NOLINTEND
27
28public:
29 // 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
45
46 MCAPI explicit NetworkItemStackDescriptor(::ItemStackDescriptor const& descriptor);
47
48 MCAPI explicit NetworkItemStackDescriptor(::ItemStack const& item);
49
50 MCAPI ::ItemStack getItemStack(::BlockPalette const& blockPalette) const;
51
52 MCAPI ::NetworkItemStackDescriptor& operator=(::NetworkItemStackDescriptor&&);
53
54 MCAPI ::NetworkItemStackDescriptor& operator=(::NetworkItemStackDescriptor const&);
55
56 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor();
63
64 MCAPI void* $ctor(::NetworkItemStackDescriptor&&);
65
66 MCAPI void* $ctor(::ItemStackDescriptor const& descriptor);
67
68 MCAPI void* $ctor(::ItemStack const& item);
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCAPI void $dtor();
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCAPI static void** $vftable();
81 // NOLINTEND
82};
Definition BlockPalette.h:18
Definition ItemDescriptorCount.h:13
Definition ItemStackDescriptor.h:14
Definition ItemStack.h:25
Definition NetworkItemStackDescriptor.h:18
Definition ReadOnlyBinaryStream.h:8
Definition ItemStackNetIdVariant.h:18