LeviLamina
Loading...
Searching...
No Matches
GatheringInfoScreenController.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/screens/controllers/MainMenuScreenController.h"
8#include "mc/deps/core/file/PathBuffer.h"
9#include "mc/deps/core/utility/pub_sub/Subscription.h"
10
11// auto generated forward declare list
12// clang-format off
14struct GatheringConfig;
15struct ServicesManager;
16namespace Json { class Value; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::GatheringConfig const>> mActiveGathering;
24 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mVenueConnectionTime;
25 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mQRCodeFilepath;
26 ::ll::TypedStorage<1, 1, bool> mAutoConnect;
27 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mDiscoverySubscription;
28 ::ll::TypedStorage<1, 1, bool> mUpdateRequired;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 GatheringInfoScreenController();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~GatheringInfoScreenController() /*override*/;
39
40 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
41
42 virtual ::ui::DirtyFlag tick() /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI GatheringInfoScreenController(::std::shared_ptr<::MainMenuScreenModel> model, bool autoConnect);
49
50 MCAPI void _attemptToConnect();
51
52 MCAPI void _createQRCode();
53
54 MCAPI bool _hasValidGathering() const;
55
56 MCAPI bool _isChildAccount() const;
57
58 MCAPI bool _locKeyValid(::std::string const& key) const;
59
60 MCAPI void _registerBindings();
61
62 MCAPI bool _shouldShowQRCode() const;
63
64 MCAPI void _updateRequiredBuild(::ServicesManager* servicesManager);
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(::std::shared_ptr<::MainMenuScreenModel> model, bool autoConnect);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCAPI void $dtor();
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
83
84 MCAPI ::ui::DirtyFlag $tick();
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
91
92 MCNAPI static void** $vftableForScreenController();
93 // NOLINTEND
94};
Definition GatheringInfoScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition Value.h:16
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition GatheringConfig.h:5