LeviLamina
Loading...
Searching...
No Matches
ContainerItemQuery.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#include "mc/client/gui/oreui/binding/QueryBase.h"
8#include "mc/client/gui/oreui/binding/properties/Property.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10#include "mc/deps/core/utility/pub_sub/Subscription.h"
11#include "mc/world/containers/ContainerEnumName.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace GameplayUI { struct ContainerItem; }
16namespace GameplayUI { struct GameplayUIContext; }
17namespace OreUI { class ClientDependencies; }
18namespace OreUI { class GameDependencies; }
19// clang-format on
20
21namespace OreUI {
22
23class ContainerItemQuery : public ::OreUI::QueryBase<::OreUI::ContainerItemQuery> {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mSubscription;
28 ::ll::TypedStorage<8, 176, ::OreUI::Property<int>> mAmount;
29 ::ll::TypedStorage<8, 200, ::OreUI::Property<::std::string>> mName;
30 ::ll::TypedStorage<8, 200, ::OreUI::Property<::std::string>> mImage;
31 ::ll::TypedStorage<8, 176, ::OreUI::Property<bool>> mHasDamageValue;
32 ::ll::TypedStorage<8, 176, ::OreUI::Property<short>> mMaxDamage;
33 ::ll::TypedStorage<8, 176, ::OreUI::Property<short>> mDamageValue;
34 ::ll::TypedStorage<8, 176, ::OreUI::Property<::GameplayUI::ContainerItemType>> mContainerItemType;
35 ::ll::TypedStorage<1, 1, ::ContainerEnumName> mContainerName;
36 ::ll::TypedStorage<4, 4, int> mIndex;
37 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::GameplayUI::GameplayUIContext>> mContext;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 ContainerItemQuery();
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual void update(double) /*override*/;
48
49 virtual ~ContainerItemQuery() /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI ContainerItemQuery(
56 ::OreUI::GameDependencies const& game,
57 ::OreUI::ClientDependencies const& client,
58 ::ContainerEnumName containerName,
59 int index
60 );
61
62 MCAPI void _updateProperties(::GameplayUI::ContainerItem const& item);
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static ::std::add_lvalue_reference_t<char const[]> NAME();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(
75 ::OreUI::GameDependencies const& game,
76 ::OreUI::ClientDependencies const& client,
77 ::ContainerEnumName containerName,
78 int index
79 );
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCAPI void $dtor();
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91 MCAPI void $update(double);
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftableForIQuery();
98
99 MCNAPI static void** $vftableForPropertyObject();
100 // NOLINTEND
101};
102
103} // namespace OreUI
Definition ClientDependencies.h:7
Definition ContainerItemQuery.h:7
static MCAPI void ** $vftableForIQuery()
static MCAPI void ** $vftableForPropertyObject()
Definition GameDependencies.h:7
Definition ContainerItem.h:7
Definition GameplayUIContext.h:7