LeviLamina
Loading...
Searching...
No Matches
EnchantRandomlyFunction.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
EnchantmentInstance
;
11
class
ItemInstance
;
12
class
ItemStack
;
13
class
LootTableContext
;
14
class
Random
;
15
// clang-format on
16
17
class
EnchantRandomlyFunction
:
public
::LootItemFunction
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 24, ::std::vector<::EnchantmentInstance>> mEnchantments;
22
::ll::TypedStorage<1, 1, bool> mTreasure;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
~EnchantRandomlyFunction
()
/*override*/
=
default
;
29
30
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
31
32
virtual
void
apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
33
34
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
35
// NOLINTEND
36
37
public
:
38
// virtual function thunks
39
// NOLINTBEGIN
40
MCFOLD
void
$apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
41
42
MCFOLD
void
$apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
);
43
44
MCFOLD ::LootItemFunction::FunctionType $getFunctionType()
const
;
45
46
47
// NOLINTEND
48
49
public
:
50
// vftables
51
// NOLINTBEGIN
52
MCNAPI
static
void
**
$vftable
();
53
// NOLINTEND
54
};
EnchantRandomlyFunction
Definition
EnchantRandomlyFunction.h:17
EnchantRandomlyFunction::$vftable
static MCAPI void ** $vftable()
EnchantmentInstance
Definition
EnchantmentInstance.h:8
ItemInstance
Definition
ItemInstance.h:15
ItemStack
Definition
ItemStack.h:26
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:10
context
Definition
context.h:5
src
mc
world
level
storage
loot
functions
EnchantRandomlyFunction.h
Generated on
for LeviLamina by
1.16.1