LeviLamina
Loading...
Searching...
No Matches
EnchantWithLevelsFunction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ItemInstance
;
11
class
ItemStack
;
12
class
LootItemCondition
;
13
class
LootTableContext
;
14
class
Random
;
15
struct
Trade
;
16
namespace
Json {
class
Value; }
17
// clang-format on
18
19
class
EnchantWithLevelsFunction
:
public
::LootItemFunction
{
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::UntypedStorage<4, 8>
mUnk3632ac;
24
::ll::UntypedStorage<1, 1>
mUnkc5975e;
25
// NOLINTEND
26
27
public
:
28
// prevent constructor by default
29
EnchantWithLevelsFunction
& operator=(
EnchantWithLevelsFunction
const
&);
30
EnchantWithLevelsFunction
(
EnchantWithLevelsFunction
const
&);
31
EnchantWithLevelsFunction
();
32
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
// vIndex: 0
37
virtual
~EnchantWithLevelsFunction
()
/*override*/
=
default
;
38
39
// vIndex: 4
40
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
41
42
// vIndex: 3
43
virtual
int
44
apply(
::ItemStack
& item,
::Random
& random,
::Trade
const
& trade,
::LootTableContext
&
context
)
/*override*/
;
45
46
// vIndex: 2
47
virtual
void
apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
48
49
// vIndex: 1
50
virtual
int
51
apply(
::ItemInstance
& item,
::Random
& random,
::Trade
const
& trade,
::LootTableContext
&
context
)
/*override*/
;
52
// NOLINTEND
53
54
public
:
55
// static functions
56
// NOLINTBEGIN
57
MCAPI static ::std::unique_ptr<::LootItemFunction>
58
deserialize(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
59
// NOLINTEND
60
61
public
:
62
// destructor thunk
63
// NOLINTBEGIN
64
65
// NOLINTEND
66
67
public
:
68
// virtual function thunks
69
// NOLINTBEGIN
70
MCFOLD
void
$apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
71
72
MCFOLD
int
$apply(
::ItemStack
& item,
::Random
& random,
::Trade
const
& trade,
::LootTableContext
&
context
);
73
74
MCFOLD
void
$apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
);
75
76
MCFOLD
int
$apply(
::ItemInstance
& item,
::Random
& random,
::Trade
const
& trade,
::LootTableContext
&
context
);
77
// NOLINTEND
78
79
public
:
80
// vftables
81
// NOLINTBEGIN
82
MCAPI
static
void
** $vftable();
83
// NOLINTEND
84
};
EnchantWithLevelsFunction
Definition
EnchantWithLevelsFunction.h:19
ItemInstance
Definition
ItemInstance.h:16
ItemStack
Definition
ItemStack.h:25
Json::Value
Definition
Value.h:16
LootItemCondition
Definition
LootItemCondition.h:12
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:16
Trade
Definition
Trade.h:5
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
storage
loot
functions
EnchantWithLevelsFunction.h
Generated on Sat Apr 26 2025 05:56:31 for LeviLamina by
1.12.0