LeviLamina
Loading...
Searching...
No Matches
SparseContainerClient.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/BidirectionalUnorderedMap.h"
7#include "mc/world/inventory/network/SparseContainer.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemStack;
12// clang-format on
13
15public:
16 // SparseContainerClient inner types define
17 enum class PushSlotPredictionResult : int {
18 Succeeded = 0,
19 FailedWithFuturePrediction = 1,
20 FailedWithError = 2,
21 };
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 0
27 virtual ~SparseContainerClient() /*override*/ = default;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI void _networkUpdateItem(int slot, ::ItemStack const& newItem);
34 // NOLINTEND
35
36public:
37 // static variables
38 // NOLINTBEGIN
39 MCNAPI static ::BidirectionalUnorderedMap<::SparseContainerClient::PushSlotPredictionResult, ::std::string> const&
41 // NOLINTEND
42};
Definition ItemStack.h:25
Definition SparseContainerClient.h:14
static MCAPI ::BidirectionalUnorderedMap<::SparseContainerClient::PushSlotPredictionResult, ::std::string > const & pushSlotPredictionResultMap()
MCAPI void _networkUpdateItem(int slot, ::ItemStack const &newItem)
Definition SparseContainer.h:20