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/api/gameplayui/ContainerItemType.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemRegistryRef;
11class ItemStackBase;
12// clang-format on
13
14namespace GameplayUI {
15
16struct ContainerItem {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int> amount;
21 ::ll::TypedStorage<8, 32, ::std::string> name;
22 ::ll::TypedStorage<8, 32, ::std::string> image;
23 ::ll::TypedStorage<1, 1, bool> hasDamageValue;
24 ::ll::TypedStorage<2, 2, short> maxDamage;
25 ::ll::TypedStorage<2, 2, short> damageValue;
26 ::ll::TypedStorage<4, 4, ::GameplayUI::ContainerItemType> containerItemType;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ~ContainerItem();
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static ::GameplayUI::ContainerItem fromItemStack(
39 ::ItemStackBase const& stack,
40 ::ItemRegistryRef itemRegistry,
41 ::GameplayUI::ContainerItemType containerItemType
42 );
43 // NOLINTEND
44
45public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCFOLD void $dtor();
49 // NOLINTEND
50};
51
52} // namespace GameplayUI
Definition ItemRegistryRef.h:36
Definition ItemStackBase.h:44
Definition ContainerItem.h:7