LeviLamina
Loading...
Searching...
No Matches
StoreUIComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/GameEventNotification.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9
10// auto generated forward declare list
11// clang-format off
16namespace Json { class Value; }
17// clang-format on
18
19class StoreUIComponent : public ::std::enable_shared_from_this<::StoreUIComponent> {
20public:
21 // StoreUIComponent inner types define
22 using ID = ushort;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 8, ::StoreVisualStyle&> mOwner;
28 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MainMenuScreenModel>> mMainMenuScreenModel;
29 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::StoreDataDrivenScreenController>> mController;
30 ::ll::TypedStorage<2, 2, ushort> mId;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 StoreUIComponent& operator=(StoreUIComponent const&);
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~StoreUIComponent() = default;
44
45 // vIndex: 1
46 virtual void onScreenClosed(::StoreDataDrivenScreenController&);
47
48 // vIndex: 2
49 virtual void onScreenEntered();
50
51 // vIndex: 3
52 virtual void onScreenEntering();
53
54 // vIndex: 4
55 virtual void onScreenOpened();
56
57 // vIndex: 5
58 virtual void getComponentDependanciesToAdd(::std::vector<::std::shared_ptr<::StoreUIComponent>>&);
59
60 // vIndex: 6
61 virtual bool isValid() const;
62
63 // vIndex: 7
64 virtual void tick(::ui::DirtyFlag&);
65
66 // vIndex: 8
67 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification);
68
69 // vIndex: 10
70 virtual bool canRemove() const;
71
72 // vIndex: 9
73 virtual bool canRemove(::StoreDataDrivenScreenController&) const;
74
75 // vIndex: 11
76 virtual int getReadyCount() const;
77
78 // vIndex: 12
79 virtual ::std::string getTelemetryData() const;
80
81 // vIndex: 13
82 virtual ::ImageTelemetryInfo getImageTelemetry() const;
83
84 // vIndex: 14
85 virtual void _onInit(::StoreDataDrivenScreenController&);
86
87 // vIndex: 15
88 virtual void _onPostInit();
89
90 // vIndex: 16
91 virtual void _parseData(::Json::Value const&);
92
93 // vIndex: 18
94 virtual void _registerBindsAndEvents();
95
96 // vIndex: 17
97 virtual void _registerBindsAndEvents(::StoreDataDrivenScreenController&);
98 // NOLINTEND
99
100public:
101 // virtual function thunks
102 // NOLINTBEGIN
103
104 // NOLINTEND
105};
Definition Value.h:16
Definition MainMenuScreenModel.h:21
Definition StoreDataDrivenScreenController.h:5
Definition StoreUIComponent.h:19
Definition StoreVisualStyle.h:12
Definition ImageTelemetryInfo.h:5