Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TreatmentCodenameManager Class Reference
Inheritance diagram for TreatmentCodenameManager:

Public Member Functions

MCAPI void const _generateCodenames (::std::vector<::std::string > const &treatments, ::std::vector<::std::string > &codenamesInUse, ::std::stringstream &inoutStream)
MCAPI void generateNewCodenames (::std::vector<::std::string > const &realmFeatures, ::std::vector<::std::string > const &treatments)
MCAPI::Bedrock::PubSub::Subscription registerCodenameUpdatedListener (::std::function< void(::std::string_view)> callback)
MCAPI void registerRealmsFeatureNamesListener (::RealmsAPI &realmsAPI)
MCAPI void registerTreatmentsListener (::std::weak_ptr<::FlightingService > flightingService)

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mCodenameString
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mTreatmentsMonitorSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mRealmsFeatureFlagsMonitorSubscription
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::std::string_view), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mCodenameUpdatedPublisher
::ll::TypedStorage< 1, 1, bool > mDisableLocalizationForTesting
::ll::TypedStorage< 1, 1, bool > mShowActualTreatmentName
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mRealmsFeatureFlags
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mTreatments

Member Function Documentation

◆ _generateCodenames()

MCAPI void const TreatmentCodenameManager::_generateCodenames ( ::std::vector<::std::string > const & treatments,
::std::vector<::std::string > & codenamesInUse,
::std::stringstream & inoutStream )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ generateNewCodenames()

MCAPI void TreatmentCodenameManager::generateNewCodenames ( ::std::vector<::std::string > const & realmFeatures,
::std::vector<::std::string > const & treatments )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ registerCodenameUpdatedListener()

MCAPI::Bedrock::PubSub::Subscription TreatmentCodenameManager::registerCodenameUpdatedListener ( ::std::function< void(::std::string_view)> callback)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ registerRealmsFeatureNamesListener()

MCAPI void TreatmentCodenameManager::registerRealmsFeatureNamesListener ( ::RealmsAPI & realmsAPI)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ registerTreatmentsListener()

MCAPI void TreatmentCodenameManager::registerTreatmentsListener ( ::std::weak_ptr<::FlightingService > flightingService)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: