Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ContainerItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/gameplay/data/gameplayui/BundleColor.h"
7#include "mc/client/gui/gameplay/data/gameplayui/ContainerItemStatusType.h"
8#include "mc/client/gui/gameplay/data/gameplayui/ContainerItemType.h"
9#include "mc/client/gui/screens/ItemRendererData.h"
10
11namespace GameplayUI {
12
13struct ContainerItem {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 32, ::std::string> name;
18 ::ll::TypedStorage<8, 32, ::std::string> id;
19 ::ll::TypedStorage<4, 4, int> amount;
20 ::ll::TypedStorage<4, 4, ::GameplayUI::ContainerItemStatusType> statusType;
21 ::ll::TypedStorage<4, 4, int> statusValue;
22 ::ll::TypedStorage<4, 4, int> statusMax;
23 ::ll::TypedStorage<4, 4, ::GameplayUI::ContainerItemType> containerItemType;
24 ::ll::TypedStorage<1, 1, bool> isSelectedRecipeSlot;
25 ::ll::TypedStorage<1, 1, bool> isTouchSelected;
26 ::ll::TypedStorage<4, 8, ::std::optional<uint>> bundleID;
27 ::ll::TypedStorage<4, 8, ::std::optional<::GameplayUI::BundleColor>> bundleColor;
28 ::ll::TypedStorage<4, 4, int> iconSize;
29 ::ll::TypedStorage<8, 192, ::std::optional<::ItemRendererData>> renderData;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 ContainerItem& operator=(ContainerItem const&);
35 ContainerItem();
36
37public:
38 // member functions
39 // NOLINTBEGIN
41
42 MCNAPI ::std::string getIconUrl() const;
43
44 MCNAPI bool isDisabled() const;
45
46 MCNAPI bool isGhost() const;
47
48 MCNAPI bool operator==(::GameplayUI::ContainerItem const&) const;
49
50 MCNAPI bool shouldShowAmount() const;
51
52 MCNAPI bool shouldShowImage() const;
53
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCNAPI void* $ctor(::GameplayUI::ContainerItem const&);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCNAPI void $dtor();
67 // NOLINTEND
68};
69
70} // namespace GameplayUI
Definition ContainerItem.h:7
MCAPI ContainerItem(::GameplayUI::ContainerItem const &)
MCAPI bool isDisabled() const
MCAPI bool shouldShowAmount() const
MCAPI void * $ctor(::GameplayUI::ContainerItem const &)
MCAPI::std::string getIconUrl() const
MCAPI bool isGhost() const
MCAPI bool shouldShowImage() const
MCAPI bool operator==(::GameplayUI::ContainerItem const &) const