3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/deps/script_core/runtime/scripting/Result_deprecated.h"
24namespace Editor::Services {
34 virtual ::Scripting::Result_deprecated<void> removeCollection(
::HashedString const&) = 0;
36 virtual ::Scripting::Result_deprecated<void> setActiveCollection(
::HashedString const&) = 0;
40 virtual ::WeakRef<::Editor::HotbarCollectionBase> getCollection(
::HashedString const&)
const = 0;
42 virtual ::std::vector<::HashedString> getAllCollectionIds()
const = 0;
44 virtual ::WeakRef<::Editor::HotbarCollectionBase> getActiveCollection()
const = 0;
46 virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription> registerHotbarCollectionEventListener(
48 ::std::function<
void(::std::variant<
Definition Subscription.h:10
Definition HotbarCollectionBase.h:36
Definition EditorHotbarCollectionServiceProvider.h:26
Definition HashedString.h:5
Definition EditorHotbarCollectionEventActiveHotbarChanged.h:7
Definition EditorHotbarCollectionEventElementUpdated.h:7
Definition EditorHotbarCollectionEventHotbarDisplayNameChanged.h:7
Definition EditorHotbarCollectionEventHotbarElementDisplayNameChanged.h:7
Definition EditorHotbarCollectionEventHotbarRemoved.h:7
Definition EditorHotbarCollectionEventHotbarUpdated.h:7
Definition EditorHotbarCollectionEventSelectedIndexChanged.h:7
Definition HotbarCollectionSnapshot.h:12