3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/client/gui/oreui/binding/interface/ICommandGroup.h"
7#include "mc/client/gui/oreui/binding/interface/IBindable.h"
8#include "mc/deps/core/utility/pub_sub/Subscription.h"
12namespace OreUI::Detail {
class Binder; }
17namespace OreUI::Detail {
31 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::OreUI::Detail::ICommandGroup>> mCommands;
32 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::OreUI::Detail::IInvocationStateTracker>> mTracker;
33 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChangeToken;
34 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnRemoveToken;
41 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::OreUI::Detail::IInvocationStateTracker>> mTracker;
42 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::OreUI::Detail::Binder>> mBinder;
43 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::OreUI::Detail::CommandRegistry::LiveCommands>>
48 ::std::unordered_map<::std::string, ::std::function<::std::unique_ptr<::OreUI::Detail::ICommandGroup>()>>>
55 virtual void onReadyForBindings() ;
57 virtual void onSuspend() ;
59 virtual void onBindingsReleased() ;
61 virtual void update(
double const time) ;
63 virtual ~CommandRegistry() ;
71 ::std::function<::std::unique_ptr<::OreUI::Detail::ICommandGroup>()> constructor
Definition CommandRegistry.h:15
Definition CommandRegistry.h:7
MCAPI void $onReadyForBindings()
MCAPI void registerCommandTemplate(::std::string name, ::std::function<::std::unique_ptr<::OreUI::Detail::ICommandGroup >()> constructor)
MCAPI void $onBindingsReleased()
MCAPI void $update(double const time)
Definition ICommandGroup.h:7
Definition IInvocationStateTracker.h:7