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/deps/core/string/HashedString.h"
7#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemInstance;
12class ItemStack;
13class ItemStackBase;
16class Random;
17namespace Json { class Value; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 48, ::HashedString> mMaterial;
25 ::ll::TypedStorage<8, 48, ::HashedString> mPattern;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~SetArmorTrimFunction() /*override*/;
32
33 virtual void apply(::ItemStack& item, ::Random& context, ::LootTableContext&) /*override*/;
34
35 virtual void apply(::ItemInstance& item, ::Random& context, ::LootTableContext&) /*override*/;
36
37 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void _apply(::ItemStackBase& item, ::LootTableContext const& context) const;
44
45 MCAPI ::std::string const& getMaterial() const;
46
47 MCAPI ::std::string const& getPattern() const;
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static ::std::unique_ptr<::LootItemFunction>
54 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI void $dtor();
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCFOLD void $apply(::ItemStack& item, ::Random& context, ::LootTableContext&);
67
68 MCFOLD void $apply(::ItemInstance& item, ::Random& context, ::LootTableContext&);
69
70 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition ItemInstance.h:15
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:17
Definition LootTableContext.h:21
Definition Random.h:10
Definition SetArmorTrimFunction.h:20
static MCAPI void ** $vftable()
Definition context.h:5