3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/pub_sub/Publisher.h"
7#include "mc/deps/core/utility/pub_sub/Subscription.h"
13namespace Bedrock::PubSub::ThreadModel {
struct MultiThreaded; }
20 ::ll::TypedStorage<8, 32, ::std::string> mCodenameString;
21 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mTreatmentsMonitorSubscription;
22 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mRealmsFeatureFlagsMonitorSubscription;
26 ::Bedrock::PubSub::Publisher<void(::std::string_view), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0>>
27 mCodenameUpdatedPublisher;
28 ::ll::TypedStorage<1, 1, bool> mDisableLocalizationForTesting;
29 ::ll::TypedStorage<1, 1, bool> mShowActualTreatmentName;
30 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mRealmsFeatureFlags;
31 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mTreatments;
37 MCAPI
void _generateCodenames(
38 ::std::vector<::std::string>
const& treatments,
39 ::std::vector<::std::string>& codenamesInUse,
40 ::std::stringstream& inoutStream
43 MCAPI
void generateNewCodenames(
44 ::std::vector<::std::string>
const& realmFeatures,
45 ::std::vector<::std::string>
const& treatments
48 MCAPI ::Bedrock::PubSub::Subscription
49 registerCodenameUpdatedListener(::std::function<
void(::std::string_view)> callback);
51 MCAPI
void registerRealmsFeatureNamesListener(::RealmsAPI& realmsAPI);
53 MCAPI
void registerTreatmentsListener(::std::weak_ptr<::FlightingService> flightingService);
Definition TreatmentCodenameManager.h:5
Definition MultiThreaded.h:7
Definition FlightingService.h:5