LeviLamina
Loading...
Searching...
No Matches
SoulSpeedEnchant.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
8// auto generated forward declare list
9// clang-format off
10class Actor;
11namespace mce { class UUID; }
12// clang-format on
13
14class SoulSpeedEnchant : public ::Enchant {
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual int getMinCost(int level) const /*override*/;
19
20 virtual int getMaxCost(int level) const /*override*/;
21
22 virtual int getMaxLevel() const /*override*/;
23
24 virtual bool isTreasureOnly() const /*override*/;
25
26 virtual bool isDiscoverable() const /*override*/;
27 // NOLINTEND
28
29public:
30 // static functions
31 // NOLINTBEGIN
32 MCAPI static int getLevel(::Actor const& entity);
33
34 MCAPI static float getSpeedBoost(int level);
35
36 MCAPI static bool shouldSpawnParticles(::Actor const& entity);
37 // NOLINTEND
38
39public:
40 // static variables
41 // NOLINTBEGIN
42 MCAPI static ::mce::UUID const& SOUL_SPEED_BOOST_UUID();
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCFOLD int $getMinCost(int level) const;
49
50 MCFOLD int $getMaxCost(int level) const;
51
52 MCFOLD int $getMaxLevel() const;
53
54 MCFOLD bool $isTreasureOnly() const;
55
56 MCFOLD bool $isDiscoverable() const;
57
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCAPI static void** $vftable();
65 // NOLINTEND
66};
Definition Actor.h:125
Definition SoulSpeedEnchant.h:14
Definition UUID.h:7