47 ContentBadgeContainer& operator=(ContentBadgeContainer
const&);
48 ContentBadgeContainer(ContentBadgeContainer
const&);
49 ContentBadgeContainer();
54 virtual ~ContentBadgeContainer() =
default;
56 virtual ::Editor::DataStore::IContentBadgeContainer::Config
const& getConfig()
const ;
58 virtual ::Scripting::Result_deprecated<void> setSuppressNewBadges(
bool shouldSuppress) ;
60 virtual ::Scripting::Result_deprecated<void> clearBadge(
::HashedString const&
id) ;
62 virtual ::Scripting::Result_deprecated<void> clearAllRegisteredBadges() ;
64 virtual ::Scripting::Result_deprecated<void> restoreAllRegisteredBadges() ;
66 virtual ::Bedrock::PubSub::Subscription
67 onVisibleBadgesChanged(::std::function<
void(::std::unordered_set<::HashedString>
const&)> callback) ;
69 virtual ::Bedrock::PubSub::Subscription onConfigChanged(
73 virtual ::std::unordered_set<::HashedString>
const& getVisibleBadges() ;
75 virtual void clear() ;
87 ::std::unordered_map<::HashedString, int>
const& badges
91 ::Editor::DataStore::EventType eventType,
97 MCNAPI
void initialize(
99 ::std::unordered_map<::HashedString, int> defaultBadges,
100 bool ignoreEditorBadges
108 MCNAPI static ::std::add_lvalue_reference_t<char const[]>
TAG_DATA();
120 MCNAPI ::Editor::DataStore::IContentBadgeContainer::Config
const&
$getConfig()
const;
130 MCNAPI ::Bedrock::PubSub::Subscription
133 MCNAPI ::Bedrock::PubSub::Subscription
MCAPI ::Scripting::Result_deprecated< void > $setSuppressNewBadges(bool shouldSuppress)
MCAPI ::Scripting::Result_deprecated< void > $restoreAllRegisteredBadges()
MCAPI::Bedrock::PubSub::Subscription $onVisibleBadgesChanged(::std::function< void(::std::unordered_set<::HashedString > const &)> callback)
MCAPI ::Scripting::Result_deprecated< void > handleDataEvent(::Editor::DataStore::EventType eventType, ::Json::Value const &payload, ::Editor::DataStore::PayloadDescription const &desc)
MCAPI::Bedrock::PubSub::Subscription $onConfigChanged(::std::function< void(::Editor::DataStore::IContentBadgeContainer::Config const &)> callback)
MCAPI void _onContentBadgeRegistered(::HashedString id, int iteration)
MCAPI ::Scripting::Result_deprecated< void > $clearAllRegisteredBadges()
static MCAPI ::std::add_lvalue_reference_t< char const[]> TAG_DATA()
MCAPI::Editor::DataStore::IContentBadgeContainer::Config const & $getConfig() const
MCAPI ::Scripting::Result_deprecated< void > _saveBadgesToItem(::WeakRef<::Editor::Services::PersistenceItem > const &itemRef, ::std::unordered_map<::HashedString, int > const &badges)
MCAPI ::std::unordered_set<::HashedString > const & $getVisibleBadges()
MCAPI ContentBadgeContainer(::Editor::DataStore::PayloadEventDispatcher &dispatcher, bool isServer)
MCAPI void * $ctor(::Editor::DataStore::PayloadEventDispatcher &dispatcher, bool isServer)
MCAPI ::Scripting::Result_deprecated< void > $clearBadge(::HashedString const &id)
Definition IContentBadgeContainer.h:16
Definition IContentBadgeContainer.h:24