LeviLamina
Loading...
Searching...
No Matches
CrossbowEnchant.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/enchanting/Enchant.h"
7
8class CrossbowEnchant : public ::Enchant {
9public:
10 // prevent constructor by default
12
13public:
14 // virtual functions
15 // NOLINTBEGIN
16 // vIndex: 2
17 virtual int getMinCost(int level) const /*override*/;
18
19 // vIndex: 3
20 virtual int getMaxCost(int level) const /*override*/;
21
22 // vIndex: 5
23 virtual int getMaxLevel() const /*override*/;
24
25 // vIndex: 1
26 virtual bool isCompatibleWith(::Enchant::Type type) const /*override*/;
27
28 // vIndex: 16
29 virtual bool _isValidEnchantmentTypeForCategory(::Enchant::Type type) const /*override*/;
30
31 // vIndex: 0
32 virtual ~CrossbowEnchant() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI CrossbowEnchant(
39 ::Enchant::Type,
40 ::Enchant::Frequency,
41 ::std::string_view,
42 ::std::string_view,
43 ::Enchant::VillagerTrading,
44 int,
45 int
46 );
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCAPI static ::std::vector<::Enchant::Type> const& VALID_ENCHANTMENTS();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(
59 ::Enchant::Type,
60 ::Enchant::Frequency,
61 ::std::string_view,
62 ::std::string_view,
63 ::Enchant::VillagerTrading,
64 int,
65 int
66 );
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI int $getMinCost(int level) const;
73
74 MCAPI int $getMaxCost(int level) const;
75
76 MCAPI int $getMaxLevel() const;
77
78 MCAPI bool $isCompatibleWith(::Enchant::Type type) const;
79
80 MCAPI bool $_isValidEnchantmentTypeForCategory(::Enchant::Type type) const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
Definition CrossbowEnchant.h:8
static MCAPI void ** $vftable()
Definition Enchant.h:16