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