48 ContentBadgeContainer& operator=(ContentBadgeContainer
const&);
49 ContentBadgeContainer(ContentBadgeContainer
const&);
50 ContentBadgeContainer();
55 virtual ~ContentBadgeContainer() =
default;
57 virtual ::Editor::DataStore::IContentBadgeContainer::Config
const& getConfig()
const ;
59 virtual ::Scripting::Result_deprecated<void> setSuppressNewBadges(
bool shouldSuppress) ;
61 virtual ::Scripting::Result_deprecated<void> clearBadge(
::HashedString const&
id) ;
63 virtual ::Scripting::Result_deprecated<void> clearAllRegisteredBadges() ;
65 virtual ::Scripting::Result_deprecated<void> restoreAllRegisteredBadges() ;
67 virtual ::Bedrock::PubSub::Subscription
68 onVisibleBadgesChanged(::std::function<
void(::std::unordered_set<::HashedString>
const&)> callback) ;
70 virtual ::Bedrock::PubSub::Subscription onConfigChanged(
74 virtual ::std::unordered_set<::HashedString>
const& getVisibleBadges() ;
76 virtual void clear() ;
88 ::std::unordered_map<::HashedString, int>
const& badges
92 ::Editor::DataStore::EventType eventType,
98 MCNAPI
void initialize(
100 ::std::unordered_map<::HashedString, int> defaultBadges,
101 bool ignoreEditorBadges
115 MCNAPI static ::std::add_lvalue_reference_t<char const[]>
TAG_DATA();
127 MCNAPI ::Editor::DataStore::IContentBadgeContainer::Config
const&
$getConfig()
const;
137 MCNAPI ::Bedrock::PubSub::Subscription
140 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
static MCAPI void bindTypes(::cereal::ReflectionCtx &ctx)
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