LeviLamina
Loading...
Searching...
No Matches
ScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/gui/controls/UIPropertyBag.h"
5
6// auto generated forward declare list
7// clang-format off
8namespace Json { class Value; }
9namespace mce { class Color; }
10// clang-format on
11
12class ScreenController {
13public:
14 char pad_0x0000[2512];
15 std::unordered_map<uint, std::function<void(std::string const&, UIPropertyBag&)>> mBindCallbacks;
16 std::unordered_map<uint, std::function<void(int, std::string const&, UIPropertyBag&)>> mCollectionBindCallbacks;
17 std::unordered_map<uint, std::function<void(std::string const&, int, std::string const&, UIPropertyBag&)>>
18 mAnyCollectionBindCallbacks;
19
20public:
21 // ScreenController inner types define
22 enum class PreviousButtonStateRequirement {};
23
24public:
25 // prevent constructor by default
26 ScreenController& operator=(ScreenController const&);
29
30public:
31 // NOLINTBEGIN
32
33 MCAPI void bindString(
34 class StringHash const& bindingName,
35 class std::function<std::string(void)> const& callback,
36 class std::function<bool(void)> const& condition
37 );
38
39 // NOLINTEND
40};
Definition ScreenController.h:34
Definition StringHash.h:5
Definition UIPropertyBag.h:14