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