LeviLamina
Loading...
Searching...
No Matches
ItemReplacementCommandUtil.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/EquipmentSlot.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class ItemStack;
12namespace Util { struct ActorReplacementParams; }
13namespace Util { struct ContainerReplacementParams; }
14namespace Util { struct ReplacementResults; }
15// clang-format on
16
17namespace Util {
18
20public:
21 // static functions
22 // NOLINTBEGIN
23 MCNAPI static void _replaceArmorSlots(
24 ::Util::ReplacementResults& replacementResults,
25 ::Actor& entity,
26 ::gsl::span<::ItemStack const> itemSpan,
27 ::SharedTypes::Legacy::EquipmentSlot slotType,
28 int count
29 );
30
31 MCNAPI static ::Util::ReplacementResults replaceActorSlotsOrError(::Util::ActorReplacementParams& actorParams);
32
33 MCNAPI static ::Util::ReplacementResults
35 // NOLINTEND
36};
37
38} // namespace Util
Definition Actor.h:125
Definition ItemStack.h:35
Definition ItemReplacementCommandUtil.h:19
static MCAPI void _replaceArmorSlots(::Util::ReplacementResults &replacementResults, ::Actor &entity, ::gsl::span<::ItemStack const > itemSpan, ::SharedTypes::Legacy::EquipmentSlot slotType, int count)
static MCAPI ::Util::ReplacementResults replaceContainerSlotsOrError(::Util::ContainerReplacementParams &containerParams)
static MCAPI ::Util::ReplacementResults replaceActorSlotsOrError(::Util::ActorReplacementParams &actorParams)
Definition ActorReplacementParams.h:10
Definition ContainerReplacementParams.h:10
Definition ReplacementResults.h:7