LeviLamina
Loading...
Searching...
No Matches
LootingEnchantFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/loot/RandomValueBounds.h"
7#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemInstance;
12class ItemStack;
14class Random;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 8, ::RandomValueBounds> mValue;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ~LootingEnchantFunction() /*override*/ = default;
28
29 virtual void apply(::ItemStack& item, ::Random& random, ::LootTableContext& context) /*override*/;
30
31 virtual void apply(::ItemInstance& itemInstance, ::Random& random, ::LootTableContext& context) /*override*/;
32
33 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI int _getLootingEnchantLevel(::LootTableContext& context) const;
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45 MCAPI void $apply(::ItemStack& item, ::Random& random, ::LootTableContext& context);
46
47 MCAPI void $apply(::ItemInstance& itemInstance, ::Random& random, ::LootTableContext& context);
48
49 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
50
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
Definition ItemInstance.h:15
Definition ItemStack.h:26
Definition LootItemFunction.h:17
Definition LootTableContext.h:20
Definition LootingEnchantFunction.h:17
static MCAPI void ** $vftable()
Definition Random.h:10
Definition context.h:5