LeviLamina
Loading...
Searching...
No Matches
SetItemCountFunction.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
SetItemCountFunction
:
public
::LootItemFunction
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::UntypedStorage<4, 8>
mUnkb0abea;
21
// NOLINTEND
22
23
public
:
24
// prevent constructor by default
25
SetItemCountFunction
& operator=(
SetItemCountFunction
const
&);
26
SetItemCountFunction
(
SetItemCountFunction
const
&);
27
SetItemCountFunction
();
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
// vIndex: 0
33
virtual
~SetItemCountFunction
()
/*override*/
=
default
;
34
35
// vIndex: 4
36
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
37
38
// vIndex: 2
39
virtual
void
apply(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
40
// NOLINTEND
41
42
public
:
43
// virtual function thunks
44
// NOLINTBEGIN
45
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
46
47
MCNAPI
void
$apply
(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
);
48
// NOLINTEND
49
50
public
:
51
// vftables
52
// NOLINTBEGIN
53
MCNAPI
static
void
**
$vftable
();
54
// NOLINTEND
55
};
ItemInstance
Definition
ItemInstance.h:16
ItemStack
Definition
ItemStack.h:25
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:11
SetItemCountFunction
Definition
SetItemCountFunction.h:16
SetItemCountFunction::$apply
MCAPI void $apply(::ItemInstance &itemInstance, ::Random &random, ::LootTableContext &context)
SetItemCountFunction::$vftable
static MCAPI void ** $vftable()
SetItemCountFunction::$apply
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &context)
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
storage
loot
functions
SetItemCountFunction.h
Generated on Fri Jun 13 2025 05:05:24 for LeviLamina by
1.12.0