3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/UIComponent.h"
17 ::ll::TypedStorage<4, 4, int> mTTSComponentNamePriority;
18 ::ll::TypedStorage<4, 4, int> mTTSComponentValuePriority;
19 ::ll::TypedStorage<4, 4, int> mTTSIndexValuePriority;
20 ::ll::TypedStorage<8, 32, ::std::string> mOverrideComponentValue;
21 ::ll::TypedStorage<8, 32, ::std::string> mComponentHeader;
22 ::ll::TypedStorage<8, 32, ::std::string> mSectionHeaderOverride;
23 ::ll::TypedStorage<8, 32, ::std::string> mTTSControlType;
24 ::ll::TypedStorage<1, 1, bool> mInheritTTSSiblings;
25 ::ll::TypedStorage<1, 1, bool> mMessageInterruptible;
26 ::ll::TypedStorage<8, 32, ::std::string> mMessageInterruptibleId;
27 ::ll::TypedStorage<4, 4, int> mTTSIndexOrder;
28 ::ll::TypedStorage<1, 1, bool> mIgnoreSubsections;
29 ::ll::TypedStorage<1, 1, bool> mIgnoreForTTSIndexCount;
30 ::ll::TypedStorage<1, 1, bool> mSkipNarration;
31 ::ll::TypedStorage<1, 1, bool> mSkipChildren;
32 ::ll::TypedStorage<1, 1, bool> mSkipEnumeration;
33 ::ll::TypedStorage<1, 1, bool> mPlayOnUnchangedFocusControl;
39 virtual ~TextToSpeechComponent() =
default;
41 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner)
const ;
43 virtual void reset() ;
49 MCAPI ::std::string
const _convertString(
50 ::std::string
const& value,
51 ::std::function<::std::string(::std::string
const&, ::std::optional<::std::vector<::std::string>>)>
const&
55 MCAPI
int _getControlIndex(::std::shared_ptr<::UIControl> ancestor);
57 MCAPI
int _getMaximumContainerSize(::std::shared_ptr<::UIControl> ancestor);
59 MCAPI
int getControlIndex();
61 MCAPI
int getSectionCount();
63 MCFOLD ::std::string getTTSMessageInterruptibleId()
const;
65 MCAPI
void populateMessageQueue(
66 ::std::multimap<int, ::std::string>& messageQueue,
68 ::std::string& sectionHeader,
69 ::std::function<::std::string(::std::string
const&, ::std::optional<::std::vector<::std::string>>)>
const&
77 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner)
const;
Definition TextToSpeechComponent.h:5
Definition UIComponent.h:5