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
10class Actor;
11class Item;
12class ItemInstance;
13class ItemStack;
15class Random;
16// clang-format on
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~SetDataFromColorIndexFunction() /*override*/ = default;
24
25 // vIndex: 4
26 virtual void apply(::ItemStack& item, ::Random& random, ::LootTableContext& context) /*override*/;
27
28 // vIndex: 2
29 virtual void apply(::ItemInstance& item, ::Random& random, ::LootTableContext& context) /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI bool _applyImpl(
36 ::Item const*& inOutItemDef,
37 ::Actor const* thisEntity,
38 ::std::string const& originalItemName,
39 int& outResultAux
40 );
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI void $apply(::ItemStack& item, ::Random& random, ::LootTableContext& context);
53
54 MCAPI void $apply(::ItemInstance& item, ::Random& random, ::LootTableContext& context);
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCAPI static void** $vftable();
61 // NOLINTEND
62};
Definition Actor.h:104
Definition ItemInstance.h:16
Definition ItemStack.h:25
Definition Item.h:65
Definition LootItemFunction.h:17
Definition LootTableContext.h:20
Definition Random.h:16
Definition SetDataFromColorIndexFunction.h:18
Definition context.h:5