LeviLamina
Loading...
Searching...
No Matches
BlockReducer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class ItemStack;
9class ItemStackBase;
10// clang-format on
11
12class BlockReducer {
13public:
14 // BlockReducer inner types declare
15 // clang-format off
16 struct Reduction;
17 // clang-format on
18
19 // BlockReducer inner types define
20 struct Reduction {
21 public:
22 // member variables
23 // NOLINTBEGIN
26 // NOLINTEND
27
28 public:
29 // prevent constructor by default
30 Reduction& operator=(Reduction const&);
31 Reduction(Reduction const&);
32 Reduction();
33 };
34
35public:
36 // member variables
37 // NOLINTBEGIN
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 BlockReducer& operator=(BlockReducer const&);
44 BlockReducer(BlockReducer const&);
45
46public:
47 // virtual functions
48 // NOLINTBEGIN
49 virtual ~BlockReducer() = default;
50
51 virtual void registerBlock(::ItemStack const& block, ::std::vector<::ItemStack> const& elements);
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI BlockReducer();
58
59 MCNAPI ::std::vector<::ItemStack> const* getReduction(::ItemStackBase const& block) const;
60
61 MCNAPI ::std::unordered_map<int, ::std::vector<::ItemStack>> const& getReductionMap() const;
62
63 MCNAPI ::ItemDescriptor tryGetItemDescriptorFromKey(int blockKey) const;
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void* $ctor();
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCNAPI void $registerBlock(::ItemStack const& block, ::std::vector<::ItemStack> const& elements);
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
static MCAPI void ** $vftable()
MCAPI void * $ctor()
MCAPI::ItemDescriptor tryGetItemDescriptorFromKey(int blockKey) const
MCAPI BlockReducer()
MCAPI ::std::vector<::ItemStack > const * getReduction(::ItemStackBase const &block) const
MCAPI ::std::unordered_map< int, ::std::vector<::ItemStack > > const & getReductionMap() const
MCAPI void $registerBlock(::ItemStack const &block, ::std::vector<::ItemStack > const &elements)
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition BlockReducer.h:20
Definition Alias.h:14