LeviLamina
Loading...
Searching...
No Matches
SetArmorTrimFunction.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
HashedString
;
11
class
ItemInstance
;
12
class
ItemStack
;
13
class
ItemStackBase
;
14
class
LootItemCondition
;
15
class
LootTableContext
;
16
class
Random
;
17
namespace
Json {
class
Value; }
18
// clang-format on
19
20
class
SetArmorTrimFunction
:
public
::LootItemFunction
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::UntypedStorage<8, 48>
mUnkbe4288;
25
::ll::UntypedStorage<8, 48>
mUnk231591;
26
// NOLINTEND
27
28
public
:
29
// prevent constructor by default
30
SetArmorTrimFunction
& operator=(
SetArmorTrimFunction
const
&);
31
SetArmorTrimFunction
(
SetArmorTrimFunction
const
&);
32
SetArmorTrimFunction
();
33
34
public
:
35
// virtual functions
36
// NOLINTBEGIN
37
// vIndex: 0
38
virtual
~SetArmorTrimFunction
()
/*override*/
;
39
40
// vIndex: 4
41
virtual
void
apply(
::ItemStack
& item,
::Random
&,
::LootTableContext
&
context
)
/*override*/
;
42
43
// vIndex: 2
44
virtual
void
apply(
::ItemInstance
& item,
::Random
&,
::LootTableContext
&
context
)
/*override*/
;
45
// NOLINTEND
46
47
public
:
48
// member functions
49
// NOLINTBEGIN
50
MCAPI
SetArmorTrimFunction
(
51
::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates,
52
::HashedString
const
& material,
53
::HashedString
const
& pattern
54
);
55
56
MCAPI
void
_apply(
::ItemStackBase
& item,
::LootTableContext
const
&
context
)
const
;
57
// NOLINTEND
58
59
public
:
60
// static functions
61
// NOLINTBEGIN
62
MCAPI static ::std::unique_ptr<::LootItemFunction>
63
deserialize(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
64
// NOLINTEND
65
66
public
:
67
// constructor thunks
68
// NOLINTBEGIN
69
MCAPI
void
* $ctor(
70
::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates,
71
::HashedString
const
& material,
72
::HashedString
const
& pattern
73
);
74
// NOLINTEND
75
76
public
:
77
// destructor thunk
78
// NOLINTBEGIN
79
MCAPI
void
$dtor();
80
// NOLINTEND
81
82
public
:
83
// virtual function thunks
84
// NOLINTBEGIN
85
MCFOLD
void
$apply(
::ItemStack
& item,
::Random
&,
::LootTableContext
&
context
);
86
87
MCFOLD
void
$apply(
::ItemInstance
& item,
::Random
&,
::LootTableContext
&
context
);
88
// NOLINTEND
89
90
public
:
91
// vftables
92
// NOLINTBEGIN
93
MCAPI
static
void
** $vftable();
94
// NOLINTEND
95
};
HashedString
Definition
HashedString.h:5
ItemInstance
Definition
ItemInstance.h:16
ItemStackBase
Definition
ItemStackBase.h:35
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
SetArmorTrimFunction
Definition
SetArmorTrimFunction.h:20
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
storage
loot
functions
SetArmorTrimFunction.h
Generated on Sat Apr 26 2025 05:56:31 for LeviLamina by
1.12.0