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
10class HashedString;
11class ItemInstance;
12class ItemStack;
13class ItemStackBase;
16class Random;
17namespace Json { class Value; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
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
47public:
48 // member functions
49 // NOLINTBEGIN
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
59public:
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
66public:
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
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81
82public:
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
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCAPI static void** $vftable();
94 // NOLINTEND
95};
Definition HashedString.h:5
Definition ItemInstance.h:16
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:17
Definition LootTableContext.h:20
Definition Random.h:16
Definition SetArmorTrimFunction.h:20
Definition context.h:5
Definition Alias.h:14